Skip to content

Commit 07e7f53

Browse files
committed
- Fixing ts types
1 parent c7ef23d commit 07e7f53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/screens/artist-detail/ArtistDetail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type RouteParams = {
1212
const ArtistDetail = () => {
1313
const route = useRoute<RouteProp<{ params: RouteParams }, 'params'>>();
1414
const { personId } = route.params;
15-
const { data: artistDetail, isLoading, error } = useGetAristDetailQuery(personId)
15+
const { data: artistDetail, isLoading, error } = useGetAristDetailQuery(Number(personId))
1616

1717
// main view with loading while api call is going on
1818
return isLoading ? <Loading/> : (<ScrollView style={styles.mainView}>

0 commit comments

Comments
 (0)