mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-24 22:52:09 -05:00
Remove prompt again.
This commit is contained in:
parent
a50ed9bfe9
commit
557ed030d4
1 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ export default function Intermediate(props: Props) {
|
|||
screen.id
|
||||
} /** 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)}
|
||||
message={(_, action) => {
|
||||
if (action === 'POP') {
|
||||
|
@ -128,7 +128,7 @@ export default function Intermediate(props: Props) {
|
|||
|
||||
return true;
|
||||
}}
|
||||
/>
|
||||
/>*/}
|
||||
</IntermediateActionsContext.Provider>
|
||||
</IntermediateContext.Provider>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue