forked from cerc-io/snowballtools-base
🐛 fix: remove value from useCallback dependency
This commit is contained in:
1 file changed
+1
-1
@@ -71,7 +71,7 @@ export function SegmentedControls<T extends string = string>({
|
||||
if (!option) return;
|
||||
onChange?.(option);
|
||||
},
|
||||
[value, onChange],
|
||||
[onChange],
|
||||
);
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user