Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
YanHui committed Dec 21, 2023
1 parent fc35cfc commit b65d849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/static-past-time-picker/QuickPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function QuickPicker({

const handleCancel = () => {
// onSelect(timeRange as string);
onCancel();
onCancel?.();
};

useEffect(() => {
Expand Down

0 comments on commit b65d849

Please sign in to comment.