Remove prompt again.

This commit is contained in:
Paul 2021-06-24 20:40:22 +01:00
parent a50ed9bfe9
commit 557ed030d4

View file

@ -116,7 +116,7 @@ export default function Intermediate(props: Props) {
screen.id screen.id
} /** By specifying a key, we reset state whenever switching screen. */ } /** By specifying a key, we reset state whenever switching screen. */
/> />
<Prompt {/*<Prompt
when={[ 'modify_account', 'special_prompt', 'special_input', 'image_viewer', 'profile', 'channel_info', 'user_picker' ].includes(screen.id)} when={[ 'modify_account', 'special_prompt', 'special_input', 'image_viewer', 'profile', 'channel_info', 'user_picker' ].includes(screen.id)}
message={(_, action) => { message={(_, action) => {
if (action === 'POP') { if (action === 'POP') {
@ -128,7 +128,7 @@ export default function Intermediate(props: Props) {
return true; return true;
}} }}
/> />*/}
</IntermediateActionsContext.Provider> </IntermediateActionsContext.Provider>
</IntermediateContext.Provider> </IntermediateContext.Provider>
); );