mirror of
https://github.com/snowball-tools/snowballtools-base
synced 2026-09-08 00:04:06 +00:00
🐛 fix: remove value from useCallback dependency
This commit is contained in:
@@ -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