Skip to content

Commit 13b7b19

Browse files
committed
chore: clean up
1 parent edefaf9 commit 13b7b19

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/examples/multiple.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import '../../assets/index.less';
33
import type { PickerRef } from '../../src/interface';
44
import SinglePicker from '../../src/PickerInput/SinglePicker';
55

6-
import dayjs, { type Dayjs } from 'dayjs';
6+
import dayjs from 'dayjs';
77
import 'dayjs/locale/ar';
88
import 'dayjs/locale/zh-cn';
99
import LocalizedFormat from 'dayjs/plugin/localizedFormat';
@@ -26,8 +26,6 @@ const sharedLocale = {
2626
export default () => {
2727
const singleRef = React.useRef<PickerRef>(null);
2828

29-
const [value, setValue] = React.useState<Dayjs>(null);
30-
3129
return (
3230
<div>
3331
<SinglePicker {...sharedLocale} multiple ref={singleRef} onOpenChange={console.error} />

0 commit comments

Comments
 (0)