diff --git a/apps/frontend/app/(client)/(main)/contest/[contestId]/@tabs/page.tsx b/apps/frontend/app/(client)/(main)/contest/[contestId]/@tabs/page.tsx index cf5b13bde..9f1181e29 100644 --- a/apps/frontend/app/(client)/(main)/contest/[contestId]/@tabs/page.tsx +++ b/apps/frontend/app/(client)/(main)/contest/[contestId]/@tabs/page.tsx @@ -1,6 +1,7 @@ import KatexContent from '@/components/KatexContent' import { auth } from '@/libs/auth' import { fetcherWithAuth } from '@/libs/utils' +import { ErrorBoundary } from '@suspensive/react' import { Suspense } from 'react' import { GoToFirstProblemButton, @@ -49,10 +50,11 @@ export default async function ContestTop({ params }: ContestTopProps) { {session && state !== 'Finished' && (
{data.isRegistered ? ( - // TODO: add error boundary - }> - - + + }> + + + ) : ( =8.10'} hasBin: true + '@suspensive/react@2.18.7': + resolution: {integrity: sha512-phPb6ZM08Koz/dW74Xnk7c6WK43Vz3ftTV/26BIQW7aUXfRHqAZe7dTqvFnkeDbj3jWZ+XcTi6IT3xGYKaTPqA==} + peerDependencies: + react: ^18 + '@swc-node/core@1.13.3': resolution: {integrity: sha512-OGsvXIid2Go21kiNqeTIn79jcaX4l0G93X2rAnas4LFoDyA9wAwVK7xZdm+QsKoMn5Mus2yFLCc4OtX2dD/PWA==} engines: {node: '>= 10'} @@ -15544,6 +15552,10 @@ snapshots: ignore: 5.3.2 p-map: 4.0.0 + '@suspensive/react@2.18.7(react@18.3.1)': + dependencies: + react: 18.3.1 + '@swc-node/core@1.13.3(@swc/core@1.9.2(@swc/helpers@0.5.13))(@swc/types@0.1.15)': dependencies: '@swc/core': 1.9.2(@swc/helpers@0.5.13)