Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodingwizard committed Dec 20, 2024
1 parent da96e25 commit dc42750
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pages/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ import useUpdateUserDashboard from '../src/hooks/useUpdateUserDashboard';
import { ConfirmOverrideModal } from '../src/components/ConfirmOverrideModal';
import Link from 'next/link';
import Head from 'next/head';
import useJudgeResults from '../src/context/JudgeResultsContext';
import useJudgeResults, {
JudgeResultsProvider,
} from '../src/context/JudgeResultsContext';

function EditorPage() {
const { fileData, updateFileData } = useEditorContext();
Expand Down Expand Up @@ -310,7 +312,9 @@ export default function FilePage() {
fileNotFoundUI={fileNotFoundUI}
permissionDeniedUI={permissionDeniedUI}
>
<EditorPage />
<JudgeResultsProvider>
<EditorPage />
</JudgeResultsProvider>
</EditorProvider>
<ConfirmOverrideModal />
</>
Expand Down

0 comments on commit dc42750

Please sign in to comment.