From ca7396968362f9cb4a34ffaae7ae3e1f0432caae Mon Sep 17 00:00:00 2001 From: Yongjie Zhao Date: Fri, 3 Jun 2022 09:06:21 +0800 Subject: [PATCH] fix typos --- .../DataTablesPane/components/DataTableControls.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/superset-frontend/src/explore/components/DataTablesPane/components/DataTableControls.tsx b/superset-frontend/src/explore/components/DataTablesPane/components/DataTableControls.tsx index eedde328d19c5..c898988c90da0 100644 --- a/superset-frontend/src/explore/components/DataTablesPane/components/DataTableControls.tsx +++ b/superset-frontend/src/explore/components/DataTablesPane/components/DataTableControls.tsx @@ -50,7 +50,7 @@ export const TableControls = ({ isLoading, }: TableControlsProps) => { const originalTimeColumns = getTimeColumns(datasourceId); - const formttedTimeColumns = zip( + const formattedTimeColumns = zip( columnNames, columnTypes, ) @@ -62,8 +62,8 @@ export const TableControls = ({ ) .map(([colname]) => colname); const formattedData = useMemo( - () => applyFormattingToTabularData(data, formttedTimeColumns), - [data, formttedTimeColumns], + () => applyFormattingToTabularData(data, formattedTimeColumns), + [data, formattedTimeColumns], ); return (