Skip to content

Commit

Permalink
fix: competition login detail fetch issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamerblue committed May 11, 2024
1 parent 783b9b8 commit 03b18b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "onlinejudge3-fe",
"version": "3.6.2",
"version": "3.6.3",
"description": "",
"scripts": {
"dev": "gulp dev",
Expand Down
14 changes: 7 additions & 7 deletions src/pages/competitions/$id/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,13 @@ class CompetitionLayout extends React.Component<Props, State> {
// if (!canEnter) {
// router.replace(urlf(pages.competitions.home, { param: { id } }));
// }
// dispatch({
// type: 'competitions/getDetail',
// payload: {
// id,
// force: true,
// },
// });
dispatch({
type: 'competitions/getDetail',
payload: {
id,
force: true,
},
});
// dispatch({
// type: 'competitions/getProblems',
// payload: {
Expand Down

0 comments on commit 03b18b7

Please sign in to comment.