Front: Play Page's Stop button leads to Score page
This commit is contained in:
@@ -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') }} />
|
||||
</>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user