diff --git a/src/components/Selector/index.tsx b/src/components/Selector/index.tsx index b8d078876..adf69eb4d 100644 --- a/src/components/Selector/index.tsx +++ b/src/components/Selector/index.tsx @@ -12,7 +12,6 @@ import type { TmdbGenre, TmdbKeywordSearchResponse, } from '@server/api/themoviedb/interfaces'; -import type { GenreSliderItem } from '@server/interfaces/api/discoverInterfaces'; import type { UserResultsResponse } from '@server/interfaces/api/userInterfaces'; import type { Keyword, @@ -185,9 +184,7 @@ export const GenreSelector = ({ }, [defaultValue, type]); const loadGenreOptions = async (inputValue: string) => { - const results = await axios.get( - `/api/v1/discover/genreslider/${type}` - ); + const results = await axios.get(`/api/v1/genres/${type}`); return results.data .map((result) => ({ @@ -201,7 +198,7 @@ export const GenreSelector = ({ return (