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 1a03a1f commit 7eb51ffCopy full SHA for 7eb51ff
apps/dashboard/app/(main)/organizations/components/organizations-list.tsx
@@ -92,6 +92,7 @@ export function OrganizationsList({
92
toast.error(error.message || 'Failed to switch workspace');
93
} else {
94
toast.success('Workspace updated');
95
+ await new Promise((resolve) => setTimeout(resolve, 300));
96
router.push('/organizations/settings');
97
}
98
} catch (_error) {
0 commit comments