Skip to content

Commit

Permalink
fix test snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Jun 18, 2024
1 parent 9193411 commit eadcb32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/PickerInput/Selector/RangeSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ function RangeSelector<DateType extends object = any>(
const [activeBarStyle, setActiveBarStyle] = React.useState<React.CSSProperties>({
position: 'absolute',
width: 0,
insetInline: 'auto',
});

const syncActiveOffset = useEvent(() => {
Expand Down
6 changes: 3 additions & 3 deletions tests/__snapshots__/range.spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ exports[`Picker.Range icon 1`] = `
</div>
<div
class="rc-picker-active-bar"
style="position: absolute; width: 0px; inset-inline-start: 0;"
style="position: absolute; width: 0px;"
/>
<span
class="rc-picker-suffix"
Expand Down Expand Up @@ -89,7 +89,7 @@ exports[`Picker.Range onPanelChange is array args should render correctly in pla
</div>
<div
class="rc-picker-active-bar"
style="position: absolute; width: 0px; inset-inline-start: 0;"
style="position: absolute; width: 0px; inset-inline-end: 0;"
/>
</div>
</div>
Expand Down Expand Up @@ -129,7 +129,7 @@ exports[`Picker.Range onPanelChange is array args should render correctly in rtl
</div>
<div
class="rc-picker-active-bar"
style="position: absolute; width: 0px; inset-inline-end: 0;"
style="position: absolute; width: 0px;"
/>
</div>
</div>
Expand Down

0 comments on commit eadcb32

Please sign in to comment.