Front: Play Page's Stop button leads to Score page

This commit is contained in:
Arthi-chaud
2022-12-18 11:37:28 +01:00
parent 5172dcea10
commit ca4885709a
4 changed files with 17 additions and 3 deletions
+2
View File
@@ -11,6 +11,7 @@ import { translate } from './i18n/i18n';
import { useQuery } from 'react-query';
import API from './API';
import PlayView from './views/PlayView';
import ScoreView from './views/ScoreView';
const Stack = createNativeStackNavigator();
@@ -19,6 +20,7 @@ export const protectedRoutes = <>
<Stack.Screen name="Settings" component={SetttingsNavigator} options={{ title: 'Settings' }} />
<Stack.Screen name="Song" component={SongLobbyView} options={{ title: translate('play') }} />
<Stack.Screen name="Play" component={PlayView} options={{ title: translate('play') }} />
<Stack.Screen name="Score" component={ScoreView} options={{ title: translate('score') }} />
<Stack.Screen name="Search" component={SearchView} options={{ title: translate('search') }} />
</>;