fix(e2e): stabilize authenticated unlock flows
This commit is contained in:
@@ -132,7 +132,11 @@ export function ChatScreen() {
|
||||
});
|
||||
|
||||
useEffect(() => {
|
||||
if (!imageMessageId || !state.historyLoaded || selectedImageMessage) {
|
||||
if (
|
||||
!imageMessageId ||
|
||||
!state.networkHistoryLoaded ||
|
||||
selectedImageMessage
|
||||
) {
|
||||
return;
|
||||
}
|
||||
router.replace(
|
||||
@@ -145,7 +149,7 @@ export function ChatScreen() {
|
||||
router,
|
||||
searchParams,
|
||||
selectedImageMessage,
|
||||
state.historyLoaded,
|
||||
state.networkHistoryLoaded,
|
||||
]);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user