Skip to content

Commit

Permalink
resolve back button hijack issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-sz committed Oct 19, 2023
1 parent 9924a45 commit 20ec050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/screens/Redirect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const Redirect: React.FC = observer(() => {
randomString(nameLength, nameCharacterSet);

if (connected && clientId) {
navigate('/' + currentNetworkName);
navigate('/' + currentNetworkName, { replace: true });
}
}, [connected, networkName, navigate, clientId, suggestedNetworkName]);

Expand Down

0 comments on commit 20ec050

Please sign in to comment.