From 010afebe5707021361e0e0ba6675006fa7caf924 Mon Sep 17 00:00:00 2001 From: Mayank Date: Tue, 9 Jul 2024 10:13:49 +0530 Subject: [PATCH] clean up --- src/components/drawer/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/drawer/index.tsx b/src/components/drawer/index.tsx index a5a5629..b68ad0f 100644 --- a/src/components/drawer/index.tsx +++ b/src/components/drawer/index.tsx @@ -39,7 +39,7 @@ export default function Drawer({ open, scope }: { open: boolean; scope: string } id="trails" type="checkbox" checked={!state?.hideTrails} - onClick={() => setState({ ...state, hideTrails: !state.hideTrails })} + onChange={() => setState({ ...state, hideTrails: !state.hideTrails })} /> {" "} Show mouse trails?