Error: The default export of loading is not a React Component in admin
Unanswered
Mugger Crocodile posted this in #help-forum
Mugger CrocodileOP
I am using this https://github.com/xSenny/bakery/blob/ui-changes/app/(admin)/admin/%5Bid%5D/edit/loading.tsx file in my current project, and I get that error. I was testing to just use the component in the page instead of the page's content and it worked perfectly, but when I use this in the loading.tsx file, I get that
Runtime Error