diff --git a/client/src/pages/favorite/ui/FavoritePage.tsx b/client/src/pages/favorite/ui/FavoritePage.tsx index 458579e5..a0b23086 100644 --- a/client/src/pages/favorite/ui/FavoritePage.tsx +++ b/client/src/pages/favorite/ui/FavoritePage.tsx @@ -11,7 +11,7 @@ export const FavoritePage = () => { const [instruments, setInstruments] = useState([]); useEffect(() => { - const kek = async () => { + const fetchFavoriteInstruments = async () => { const favoriteInstrumentIds = await fetchFavoriteInstrumentIdsList() const filter = { instrumentIds: favoriteInstrumentIds, @@ -20,7 +20,7 @@ export const FavoritePage = () => { return instruments; } - kek().then(instruments => setInstruments(instruments)); + fetchFavoriteInstruments().then(instruments => setInstruments(instruments)); }, []); return (