We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7ef23d commit 07e7f53Copy full SHA for 07e7f53
src/screens/artist-detail/ArtistDetail.tsx
@@ -12,7 +12,7 @@ type RouteParams = {
12
const ArtistDetail = () => {
13
const route = useRoute<RouteProp<{ params: RouteParams }, 'params'>>();
14
const { personId } = route.params;
15
- const { data: artistDetail, isLoading, error } = useGetAristDetailQuery(personId)
+ const { data: artistDetail, isLoading, error } = useGetAristDetailQuery(Number(personId))
16
17
// main view with loading while api call is going on
18
return isLoading ? <Loading/> : (<ScrollView style={styles.mainView}>
0 commit comments