Default

Function: default()

function default(props): Promise<null | Element>

Defined in: src/app/commissiestrijd/layout.tsx:15

Root layout for the Commissiestrijd section of the application. This layout checks if the user is authenticated before rendering the children components.

Parameters

props

Readonly<{ children: React.ReactNode; }>

The props for the layout component.

Returns

Promise<null | Element>
  • Returns the children if the user is authenticated, otherwise redirects to the login page.