gonna make tracks more like artists which works

This commit is contained in:
Violet Caulfield
2025-02-15 13:28:34 -06:00
parent bb498c9f58
commit 3c72b8fc37
2 changed files with 3 additions and 6 deletions
+2 -5
View File
@@ -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;
+1 -1
View File
@@ -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">;