feat(frontend): Verbeteringen i18n en standaardleerpad bij het aanmaken

This commit is contained in:
Gerald Schmittinger 2025-05-16 12:48:40 +02:00
parent 60d11e5b0d
commit bf1a90313d
7 changed files with 28 additions and 13 deletions

View file

@ -54,7 +54,7 @@ export function useGetAllLearningPathsByAdminQuery(
export function usePostLearningPathMutation(): UseMutationReturnType<
LearningPathDTO,
AxiosError,
{ learningPath: LearningPathDTO },
{ learningPath: Partial<LearningPathDTO> },
unknown
> {
const queryClient = useQueryClient();
@ -68,7 +68,7 @@ export function usePostLearningPathMutation(): UseMutationReturnType<
export function usePutLearningPathMutation(): UseMutationReturnType<
LearningPathDTO,
AxiosError,
{ learningPath: LearningPathDTO },
{ learningPath: Partial<LearningPathDTO> },
unknown
> {
const queryClient = useQueryClient();