mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-09-11 13:56:29 +02:00
Fix team wish type from string to number
This commit is contained in:
@@ -4,8 +4,9 @@ import useAction from "../../utils/useAction"
|
||||
import { selectUserJwtToken } from "../../store/auth"
|
||||
import { AppState } from "../../store"
|
||||
import { fetchVolunteerTeamWishesSet } from "../../store/volunteerTeamWishesSet"
|
||||
import { VolunteerTeamWishes } from "../../services/volunteers"
|
||||
|
||||
export const useUserTeamWishes = (): [any, any] => {
|
||||
export const useUserTeamWishes = (): [VolunteerTeamWishes | undefined, any] => {
|
||||
const save = useAction(fetchVolunteerTeamWishesSet)
|
||||
const jwtToken = useSelector(selectUserJwtToken)
|
||||
const userTeamWishes = useSelector(
|
||||
|
Reference in New Issue
Block a user