Default export bullshit
Unanswered
Arboreal ant posted this in #help-forum
Arboreal antOP
Hello so when i load my app im getting this error but when i go to ./app/dashboard/page.tsx there are default exports
6 Replies
That error happened to me when I had an empty layout
@chisto That error happened to me when I had an empty layout
Arboreal antOP
import Dashboard from '../../components/dashboard/Dashboard'
export default function DashboardRoute() {
return <Dashboard />
}
export default function DashboardRoute() {
return <Dashboard />
}
thats the /dashboard/page.tsx code
it does have the export default
yes, the Dashboard is ok
but maybe the layout is the one that doesn't have the export default
but maybe the layout is the one that doesn't have the export default
Arboreal antOP
didnt work