diff --git a/apps/webapp/app/components/primitives/LoadingBarDivider.tsx b/apps/webapp/app/components/primitives/LoadingBarDivider.tsx index d35067ea62..ee64ac4fc5 100644 --- a/apps/webapp/app/components/primitives/LoadingBarDivider.tsx +++ b/apps/webapp/app/components/primitives/LoadingBarDivider.tsx @@ -18,6 +18,8 @@ export function AnimationDivider({ isLoading }: LoadingBarDividerProps) { const [isPresent, safeToRemove] = usePresence(); useEffect(() => { + if (!scope.current) return; + if (isPresent) { const enterAnimation = async () => { await animate(