Fixes a console error introduced when updating the loading animation (#2019)

This commit is contained in:
James Ritchie
2025-05-07 18:40:04 +01:00
committed by GitHub
parent e94558a0d5
commit 4ec0395424
@@ -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(