From 7c03a58b1b5ced3bc2626072604d5f78d8f482e0 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Thu, 22 Aug 2024 19:26:22 -0700 Subject: [PATCH] don't set ready in effect --- frontend/layout/lib/TileLayout.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/layout/lib/TileLayout.tsx b/frontend/layout/lib/TileLayout.tsx index 80d674c9e..1ef408e70 100644 --- a/frontend/layout/lib/TileLayout.tsx +++ b/frontend/layout/lib/TileLayout.tsx @@ -96,7 +96,6 @@ function TileLayoutComponent({ tabAtom, contents, getCursorPoint }: TileLayoutPr // `animate` will be disabled until after the transforms have all applied the first time. const [animate, setAnimate] = useState(false); useEffect(() => { - setReady(false); setTimeout(() => { setAnimate(true); setReady(true);