Skip to content

Commit

Permalink
fix: correct reactive dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
zobweyt committed Nov 19, 2024
1 parent 31df2d7 commit c99e9f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function SegmentedControlIndicator<T extends ValidComponent = "div">(
};

createEffect(
on(context.value, () => {
on(context.selectedItem, () => {
setResizing(!style());
computeStyle();
setResizing(false);
Expand Down

0 comments on commit c99e9f3

Please sign in to comment.