chore: lint
This commit is contained in:
@@ -329,30 +329,30 @@ const Canvas = React.memo(({ width, height, onCreateRef }: CanvasProps) => {
|
|||||||
className="block"
|
className="block"
|
||||||
/>
|
/>
|
||||||
<Suspense fallback={null}>
|
<Suspense fallback={null}>
|
||||||
{state.datePickerInfo && (
|
{state.datePickerInfo && (
|
||||||
<DatePicker
|
<DatePicker
|
||||||
coordinates={state.datePickerInfo.coordinates}
|
coordinates={state.datePickerInfo.coordinates}
|
||||||
selector={state.datePickerInfo.selector}
|
selector={state.datePickerInfo.selector}
|
||||||
onClose={() => dispatch({
|
onClose={() => dispatch({
|
||||||
type: 'BATCH_UPDATE',
|
type: 'BATCH_UPDATE',
|
||||||
payload: { datePickerInfo: null }
|
payload: { datePickerInfo: null }
|
||||||
})}
|
})}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{state.timePickerInfo && (
|
{state.timePickerInfo && (
|
||||||
<TimePicker
|
<TimePicker
|
||||||
coordinates={state.timePickerInfo.coordinates}
|
coordinates={state.timePickerInfo.coordinates}
|
||||||
selector={state.timePickerInfo.selector}
|
selector={state.timePickerInfo.selector}
|
||||||
onClose={() => dispatch({ type: 'SET_TIME_PICKER', payload: null })}
|
onClose={() => dispatch({ type: 'SET_TIME_PICKER', payload: null })}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{state.dateTimeLocalInfo && (
|
{state.dateTimeLocalInfo && (
|
||||||
<DateTimeLocalPicker
|
<DateTimeLocalPicker
|
||||||
coordinates={state.dateTimeLocalInfo.coordinates}
|
coordinates={state.dateTimeLocalInfo.coordinates}
|
||||||
selector={state.dateTimeLocalInfo.selector}
|
selector={state.dateTimeLocalInfo.selector}
|
||||||
onClose={() => dispatch({ type: 'SET_DATETIME_PICKER', payload: null })}
|
onClose={() => dispatch({ type: 'SET_DATETIME_PICKER', payload: null })}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</Suspense>
|
</Suspense>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user