From ff4d5fc477f53f918fa22fa42891b5341ce3fc46 Mon Sep 17 00:00:00 2001 From: lerte smith Date: Fri, 18 Oct 2024 09:30:41 +0800 Subject: [PATCH] fix on mobile --- apps/docs/src/components/ThemeChanger.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/docs/src/components/ThemeChanger.tsx b/apps/docs/src/components/ThemeChanger.tsx index af14733..95ad3d1 100644 --- a/apps/docs/src/components/ThemeChanger.tsx +++ b/apps/docs/src/components/ThemeChanger.tsx @@ -88,9 +88,7 @@ export const ThemeChanger = () => { { - setOpen(!open) - }} + onPress={() => setOpen(!open)} > palette