mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-06 11:00:09 -06:00
add function for retrieving artist image ig?
This commit is contained in:
@@ -4,7 +4,7 @@ import { useHomeContext } from "../provider";
|
||||
import { H2 } from "../../Global/text";
|
||||
import { ProvidedHomeProps } from "../types";
|
||||
import { FlatList } from "react-native";
|
||||
import { Card, CardType } from "../../Global/card";
|
||||
import { Card } from "../../Global/card";
|
||||
|
||||
export default function RecentArtists({ navigation }: ProvidedHomeProps): React.JSX.Element {
|
||||
|
||||
@@ -24,7 +24,7 @@ export default function RecentArtists({ navigation }: ProvidedHomeProps): React.
|
||||
renderItem={({ item: recentArtist}) => {
|
||||
return (
|
||||
<Card
|
||||
cardType={CardType.Artist}
|
||||
artistName={recentArtist.Name!}
|
||||
itemId={recentArtist.Id!}
|
||||
onPress={() => {
|
||||
navigation.navigate('Artist',
|
||||
|
||||
Reference in New Issue
Block a user