Skip to content
Snippets Groups Projects
Commit b831bdbe authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

remove explicit typing

parent 55d4f130
No related branches found
No related tags found
1 merge request!1165chore: remove error modal flashing
......@@ -17,10 +17,7 @@ const QuizFinish = ({ userChallenge }: { userChallenge: UserChallenge }) => {
const client = useClient()
const navigate = useNavigate()
const dispatch = useAppDispatch()
const challengeService: ChallengeService = useMemo(
() => new ChallengeService(client),
[client]
)
const challengeService = useMemo(() => new ChallengeService(client), [client])
const retryQuiz = useCallback(async () => {
const userChallengeUpdated = await challengeService.updateUserChallenge(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment