Fixes a console error introduced when updating the loading animation (#2019)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user