add function for retrieving artist image ig?

This commit is contained in:
Violet Caulfield
2024-11-30 09:44:04 -06:00
parent 584c08af46
commit ba50ebf687
5 changed files with 25 additions and 13 deletions

View File

@@ -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',