Skip to content

Commit

Permalink
chore(fe): change solved to success rate (#2047)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoojin9 authored Aug 30, 2024
1 parent ce25657 commit 3d97411
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/frontend/app/(main)/problem/_components/Columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const columns: ColumnDef<Problem>[] = [
cell: ({ row }) => row.original.submissionCount
},
{
header: () => <SortButton order="acrate">Solved</SortButton>,
header: () => <SortButton order="acrate">Success Rate</SortButton>,
accessorKey: 'acceptedRate',
cell: ({ row }) => `${(row.original.acceptedRate * 100).toFixed(2)}%`
},
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/app/admin/_components/ConfirmNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ export const useConfirmNavigation = (
window.removeEventListener('beforeunload', handleBeforeUnload)
router.push = originalPush
}
}, [router, shouldSkipWarningRef.current])
}, [router, shouldSkipWarningRef])
}

0 comments on commit 3d97411

Please sign in to comment.