Skip to content

Commit 5bebfee

Browse files
committed
Fix: lint
1 parent 5617cf9 commit 5bebfee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/SegmentedControl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const SegmentedControl = ({
8484
if (ref.current) {
8585
ref.current.measure((_x, _y, width) => updateSegmentWidth(width));
8686
}
87-
}, [values]);
87+
}, [values, updateSegmentWidth]);
8888

8989
return (
9090
<View

0 commit comments

Comments
 (0)