Fix bug Ask Discord; Update register form

This commit is contained in:
pikiou
2022-04-22 16:06:51 +02:00
parent 99700e4474
commit 514cf1b833
3 changed files with 11 additions and 9 deletions

View File

@@ -11,7 +11,7 @@ import {
export function AskDiscord(asks: JSX.Element[], id: number): void {
const { dispatch, jwtToken, volunteerAsks } = useAskTools()
const discordId: number | undefined = useSelector(selectVolunteerDiscordId)
const discordId: string | undefined = useSelector(selectVolunteerDiscordId)
const onSubmit = useCallback((): void => {
dispatch(