import { Suspense } from 'react';
import EmailVerifyPage from './EmailVerifyPage';
import { Main } from '@/app/ui/Main';

export default async function Page({ params: { id } }: { params: { id: string } }) {
    return (
        <Main>
            <Suspense fallback={<div className="text-center p-8">Loading...</div>}>
                <EmailVerifyPage shareId={id} />
            </Suspense>
        </Main>
    );
}
