/* eslint-disable @typescript-eslint/no-explicit-any */

interface Props {
    children: React.ReactNode;
}

export default async function AccountLayout({
    children
}: Props
) {

    // if (!token) {
    //     redirect(`/`);
    // }

    return (
      <div className="flex flex-col min-h-screen bg-white">
            <main className='flex grainy-light flex-col min-h-[calc(100vh-3.5rem-1px)]'>
                <div className='flex-1 flex flex-col h-full'>
                    {children}
                </div>
            </main>
        </div>
    )
}