diff --git a/src/hooks/use-user-categories-and-subjects.tsx b/src/hooks/use-user-categories-and-subjects.tsx index e01c2a295..d911028ec 100644 --- a/src/hooks/use-user-categories-and-subjects.tsx +++ b/src/hooks/use-user-categories-and-subjects.tsx @@ -9,13 +9,13 @@ import { UserResponse } from '~/types' -interface useUserCategoriesAndSubjectsProps { +interface UseUserCategoriesAndSubjectsProps { user: UserResponse | null } const useUserCategoriesAndSubjects = ({ user -}: useUserCategoriesAndSubjectsProps) => { +}: UseUserCategoriesAndSubjectsProps) => { const { Subjects } = CourseAutocompleteOptionsEnum const userCategories = useMemo(