Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Update DownloadPage.tsx (#1203)

Ameer Al Ashhab6152b4383afd
diff --git a/apps/web/app/(org)/onboarding/components/DownloadPage.tsx b/apps/web/app/(org)/onboarding/components/DownloadPage.tsx
index aff7d06e9..023adaca8 100644
--- a/apps/web/app/(org)/onboarding/components/DownloadPage.tsx
+++ b/apps/web/app/(org)/onboarding/components/DownloadPage.tsx
@@ -41,10 +41,11 @@ export function DownloadPage() {
const router = useRouter();
const [clickedContinue, setClickedContinue] = useState(false);
- //mark as complete when loading the page
useEffect(() => {
- onboardingRequest.mutate();
- router.refresh();
+ startTransition(() => {
+ onboardingRequest.mutate();
+ router.refresh();
+ });
}, []);
const onboardingRequest = useEffectMutation({