From f6d37e56a961cf899b8f601058a7827e83d1ff1a Mon Sep 17 00:00:00 2001 From: Suprhimp Date: Sun, 4 May 2025 02:12:19 +0900 Subject: [PATCH] [fix] Maximum update depth exceeded error --- src/Selection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Selection.tsx b/src/Selection.tsx index 5e3ae36..4427579 100644 --- a/src/Selection.tsx +++ b/src/Selection.tsx @@ -37,7 +37,7 @@ export function Select({ enabled = false, children, ...props }: SelectApi) { } } } - }, [enabled, children, api]) + }, [enabled, children]) return ( {children}