#404?

9 messages · Page 1 of 1 (latest)

mellow stratus
#

Hey, maybe im just dumb currently but if i try to go into my dashboard i get a 404.

The auth pages are fully working, here is my layout from the dashboard:

import React from 'react'

const Layout = ({children}: {
    children: React.ReactNode
}) => {
    return (
        <main>{children}</main>
    )
}

export default Layout
marsh heron
#

NextJS serves pages that are named page.tsx. The layout.tsx is not supposed to be a whole page. It should define reused parts of a page.

#

But you didn't expand the home folder, so I can't see if you have a page.tsx in there.

mellow stratus
#

Thats the problem xd

#

simple page

marsh heron
mellow stratus
#

im so dumb

#

i need more sleep