Skip to content

Commit

Permalink
lint: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
zjh1943 committed Mar 27, 2023
1 parent 5fa61bb commit aa6b977
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/AntdDateRangePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ export class AntdDateRangePicker extends Component<AntdDateRangePickerContainerP
let disablingFunctionOpen = false;
if (props.disableDateMode !== "off") {
disablingFunctionOpen = true;
if (props.disableDateTemparyToggle?.status === "available" && props.disableDateTemparyToggle?.value === false) {
if (
props.disableDateTemparyToggle?.status === "available" &&
props.disableDateTemparyToggle?.value === false
) {
disablingFunctionOpen = false;
}
}
Expand Down

0 comments on commit aa6b977

Please sign in to comment.