Skip to content

Commit d81ed82

Browse files
committed
fix: delete async await
1 parent 4edfbce commit d81ed82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/app/components/ChartEditor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ export const ChartEditor: FC<ChartEditorProps> = ({
588588
dispatch(refreshDatasetAction({ drillOption: option }));
589589
};
590590

591-
const handleDrillDataAggregationChange = async (type, payload) => {
591+
const handleDrillDataAggregationChange = (type, payload) => {
592592
const rows = getInterimDateAggregateRows(payload.value?.rows);
593593
const dateAggregationField = rows.filter(
594594
v => v.category === ChartDataViewFieldCategory.DateAggregationField,
@@ -601,7 +601,7 @@ export const ChartEditor: FC<ChartEditorProps> = ({
601601
chartConfig,
602602
);
603603

604-
await dispatch(
604+
dispatch(
605605
workbenchSlice.actions.updateCurrentDataViewComputedFields(
606606
computedFields,
607607
),

0 commit comments

Comments
 (0)