Skip to content

Commit

Permalink
fix rebase mixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras committed Nov 14, 2024
1 parent 70065b5 commit 5c4e4cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function UnconnectedToggleGroupControl(
const [ controlElement, setControlElement ] = useState< HTMLElement >();
const refs = useMergeRefs( [ setControlElement, forwardedRef ] );
const selectedRect = useTrackElementOffsetRect(
value ? selectedElement : undefined
value || value === 0 ? selectedElement : undefined
);
useAnimatedOffsetRect( controlElement, selectedRect, {
prefix: 'selected',
Expand Down

0 comments on commit 5c4e4cf

Please sign in to comment.