mirror of
https://github.com/Jellify-Music/App.git
synced 2026-04-28 06:29:37 -05:00
gonna make tracks more like artists which works
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { RouteProp } from "@react-navigation/native";
|
||||
import { StackParamList } from "../types";
|
||||
import { TracksProps, StackParamList } from "../types";
|
||||
import { NativeStackNavigationProp } from "@react-navigation/native-stack";
|
||||
import React from "react";
|
||||
import Track from "../Global/components/track";
|
||||
@@ -12,10 +12,7 @@ import { useQuery } from "@tanstack/react-query";
|
||||
export default function TracksScreen({
|
||||
route,
|
||||
navigation
|
||||
} : {
|
||||
route: RouteProp<StackParamList, "Tracks">,
|
||||
navigation: NativeStackNavigationProp<StackParamList>
|
||||
}) : React.JSX.Element {
|
||||
} : TracksProps) : React.JSX.Element {
|
||||
|
||||
const { query } = route.params;
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -105,7 +105,7 @@ export type AlbumsProps = NativeStackScreenProps<StackParamList, "Albums">;
|
||||
export type FavoritePlaylistsProps = NativeStackScreenProps<StackParamList, "Playlists">;
|
||||
export type DeletePlaylistProps = NativeStackScreenProps<StackParamList, "DeletePlaylist">;
|
||||
|
||||
export type FavoriteTracksProps = NativeStackScreenProps<StackParamList, "Tracks">;
|
||||
export type TracksProps = NativeStackScreenProps<StackParamList, "Tracks">;
|
||||
|
||||
export type GenresProps = NativeStackScreenProps<StackParamList, "Genres">;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user