From 7576bb22e2a8c720ed89c0bb0f8902d780179523 Mon Sep 17 00:00:00 2001 From: EugeneTorap Date: Fri, 28 Jan 2022 10:51:38 +0300 Subject: [PATCH] Refactoring --- .../src/SqlLab/components/ColumnElement/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset-frontend/src/SqlLab/components/ColumnElement/index.tsx b/superset-frontend/src/SqlLab/components/ColumnElement/index.tsx index 7709cd55e6113..9dc0583b423de 100644 --- a/superset-frontend/src/SqlLab/components/ColumnElement/index.tsx +++ b/superset-frontend/src/SqlLab/components/ColumnElement/index.tsx @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -import React, { FC } from 'react'; +import React from 'react'; import { ClassNames } from '@emotion/react'; import { styled, useTheme } from '@superset-ui/core'; import { Tooltip } from 'src/components/Tooltip'; @@ -75,7 +75,7 @@ interface ColumnElementProps { }; } -const ColumnElement: FC = ({ column }) => { +const ColumnElement = ({ column }: ColumnElementProps) => { let columnName: React.ReactNode = column.name; let icons; if (column.keys && column.keys.length > 0) {