🐛 fix: remove value
from useCallback
dependency
This commit is contained in:
parent
99be851046
commit
a34373d9be
@ -71,7 +71,7 @@ export function SegmentedControls<T extends string = string>({
|
||||
if (!option) return;
|
||||
onChange?.(option);
|
||||
},
|
||||
[value, onChange],
|
||||
[onChange],
|
||||
);
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user