We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55aed13 commit 7acd894Copy full SHA for 7acd894
packages/app/src/app/overmind/namespaces/editor/actions.ts
@@ -124,9 +124,12 @@ export const sandboxChanged: AsyncAction<{ id: string }> = withLoadApp<{
124
invitationToken,
125
});
126
127
- // Remove the invite from the url
128
- url.searchParams.delete('ts');
129
- history.replace(url.pathname);
+ // Timeout to prevent that we load the whole sandbox twice at the same time
+ setTimeout(() => {
+ // Remove the invite from the url
130
+ url.searchParams.delete('ts');
131
+ history.replace(url.pathname);
132
+ }, 3000);
133
} catch (error) {
134
if (
135
!error.message.includes('Cannot redeem token, invitation not found')
0 commit comments