Skip to content

Commit 4b6d66d

Browse files
committed
Globe now pauses later
1 parent acd03b7 commit 4b6d66d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/(overview)/(metrics)

apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/(overview)/(metrics)/globe.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function GlobeSection({ countryData, totalUsers, children }: {countryData
6363
resumeRenderIntervalRef.current = setTimeout(() => {
6464
globeRef.current?.pauseAnimation(); // conditional, because globe may have been destroyed
6565
resumeRenderIntervalRef.current = null;
66-
}, 200);
66+
}, 1000);
6767

6868
// resume animation
6969
// we only resume if we haven't already resumed before to prevent a StackOverflow: resumeAnimation -> onZoom -> resumeRender -> resumeAnimation, etc etc

0 commit comments

Comments
 (0)