diff --git a/docs/examples/debug.tsx b/docs/examples/debug.tsx index d2e2fa478..c5e507bdf 100644 --- a/docs/examples/debug.tsx +++ b/docs/examples/debug.tsx @@ -125,15 +125,7 @@ const MyInput = React.forwardRef { - const singleRef = React.useRef(null); - const [value, setValue] = React.useState(dayjs('2024-01-15')); - const [rangeValue, setRangeValue] = React.useState<[Dayjs, Dayjs]>( - [dayjs('2024-01-15'), dayjs('2024-03-01')], - // null, - // undefined, - ); - const setSingleValue = (nextVal: Dayjs) => { setValue(nextVal); }; @@ -149,7 +141,7 @@ export default () => {
- {/* { console.error('1'); console.log('🎲 PanelValue Change:', panelValue, mode); }} - /> */} + />
);