Front: Remove Old Lobby Page

This commit is contained in:
Arthur Jamet
2023-11-19 09:13:22 +01:00
parent 384fb10f54
commit 617d31cb22
10 changed files with 12 additions and 18 deletions
+2 -2
View File
@@ -72,7 +72,7 @@ const HomeView = (props: RouteProps<{}>) => {
(artistQuery) => artistQuery.data?.id === song.artistId
)!.data!.name;
cards[index]!.onPress = () => {
navigation.navigate('Song', { songId: song.id });
navigation.navigate('Play', { songId: song.id });
};
});
}, [artistsQueries]);
@@ -195,7 +195,7 @@ const HomeView = (props: RouteProps<{}>) => {
key={song.id}
song={song}
onPress={() => {
navigation.navigate('Song', { songId: song.id });
navigation.navigate('Play', { songId: song.id });
}}
onPlay={() => {
console.log('play');