From 9daf23b4842ea357ddde1941f30f29facdf5bcad Mon Sep 17 00:00:00 2001 From: Ameya Shenoy Date: Tue, 24 Jun 2025 01:35:40 +0530 Subject: [PATCH] chore: prevent changing themes on changing dims Signed-off-by: Ameya Shenoy --- frontend/src/components/PhysicsSimulation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/PhysicsSimulation.tsx b/frontend/src/components/PhysicsSimulation.tsx index 7fba791..dc779fc 100644 --- a/frontend/src/components/PhysicsSimulation.tsx +++ b/frontend/src/components/PhysicsSimulation.tsx @@ -254,7 +254,7 @@ export function World() { pillText.remove(); }); }; - }, [resolvedTheme, dimensions]); + }, [resolvedTheme]); return ( // TODO: ask Shubh why does my name spawn at the top and then shift down