diff --git a/src/containers/tutor-home-page/general-info-step/GeneralInfoStep.tsx b/src/containers/tutor-home-page/general-info-step/GeneralInfoStep.tsx index 8c950e54ce..5ae050f1d3 100644 --- a/src/containers/tutor-home-page/general-info-step/GeneralInfoStep.tsx +++ b/src/containers/tutor-home-page/general-info-step/GeneralInfoStep.tsx @@ -74,10 +74,10 @@ const GeneralInfoStep = ({ }) const filterOptions = ( - options: unknown[], - state: FilterOptionsState + options: string[], + state: FilterOptionsState ) => { - const defaultFilterOptions = createFilterOptions() + const defaultFilterOptions = createFilterOptions() return defaultFilterOptions(options, state).slice(0, 300) } @@ -99,9 +99,9 @@ const GeneralInfoStep = ({ const onChangeCity = ( event: SyntheticEvent, - value: unknown + value: string | null ) => { - handleNonInputValueChange('city', value as string | null) + handleNonInputValueChange('city', value) } const getUserById = useCallback(