Skip to content

Commit

Permalink
update contest-judge
Browse files Browse the repository at this point in the history
oops
  • Loading branch information
venix12 committed Jan 26, 2024
1 parent 027ab3c commit 1644f2f
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions resources/js/entrypoints/contest-judge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,12 @@
import Main from 'contest-judge/main';
import core from 'osu-core-singleton';
import * as React from 'react';
import ContestEntryStore from 'stores/contest-entry-store';
import ContestJudgeStore from 'stores/contest-judge-store';
import { parseJson } from 'utils/json';

core.reactTurbolinks.register('contest-judge', () => {
const store = new ContestEntryStore();
store.updateWithJson(parseJson('json-entries'));
const store = new ContestJudgeStore();
store.updateWithJson(parseJson('json-contest'));

return (
<Main
contest={parseJson('json-contest')}
store={store}
/>
);
return <Main store={store} />;
});

0 comments on commit 1644f2f

Please sign in to comment.