diff --git a/packages/mobile/src/components/add-to-playlist-drawer/AddToPlaylistDrawer.tsx b/packages/mobile/src/components/add-to-playlist-drawer/AddToPlaylistDrawer.tsx index 0b0037faf7..e77ddbde89 100644 --- a/packages/mobile/src/components/add-to-playlist-drawer/AddToPlaylistDrawer.tsx +++ b/packages/mobile/src/components/add-to-playlist-drawer/AddToPlaylistDrawer.tsx @@ -20,6 +20,8 @@ import { CollectionImage } from 'app/components/image/CollectionImage' import { useToast } from 'app/hooks/useToast' import { makeStyles, shadow } from 'app/styles' +import type { ImageProps } from '../image/FastImage' + const { addTrackToPlaylist, createPlaylist } = cacheCollectionsActions const { getTrackId, getTrackTitle } = addToPlaylistUISelectors const { getAccountWithOwnPlaylists } = accountSelectors @@ -55,8 +57,14 @@ export const AddToPlaylistDrawer = () => { const user = useSelector(getAccountWithOwnPlaylists) const renderImage = useCallback( - (item) => () => - , + (item) => (props?: ImageProps) => + ( + + ), [] )