Skip to content

Commit 4a87ab3

Browse files
committed
fix(DatePicker): adapt useControllableState
1 parent a38d015 commit 4a87ab3

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

packages/core/src/components/date-picker/date-picker.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ export function DatePicker(props: DatePickerProps) {
6262

6363
const { visible, onClose, onOpen } = useVisible({});
6464
const [value, updateValue] = useControllableState<Dayjs>({
65-
name: 'DatePicker',
6665
value: formatDateValue(valueProp, format),
6766
defaultValue: formatDateValue(defaultValue, format),
6867
onChange: (date: Dayjs) => {

0 commit comments

Comments
 (0)