From a53b1c17e1936e10de73cbcc9b7ca828e046d0ca Mon Sep 17 00:00:00 2001 From: Praveen K B <30530587+praveen5959@users.noreply.github.com> Date: Fri, 17 Jan 2025 22:41:29 +0530 Subject: [PATCH] fix: Lint issues fixed for correlation CRUD operations (#426) --- src/pages/Correlation/components/SavedCorrelationItem.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/Correlation/components/SavedCorrelationItem.tsx b/src/pages/Correlation/components/SavedCorrelationItem.tsx index 0286f7b8..e2240a8e 100644 --- a/src/pages/Correlation/components/SavedCorrelationItem.tsx +++ b/src/pages/Correlation/components/SavedCorrelationItem.tsx @@ -1,6 +1,6 @@ import { Stack, Box, Button, Text, px, Code } from '@mantine/core'; import { IconClock, IconEye, IconEyeOff, IconTrash, IconX } from '@tabler/icons-react'; -import { useState, useCallback, Fragment } from 'react'; +import { useState, useCallback, Fragment, FC } from 'react'; import classes from '../styles/SavedCorrelationItem.module.css'; import { Correlation } from '@/@types/parseable/api/correlation'; import dayjs from 'dayjs'; @@ -42,7 +42,7 @@ interface JoinConfig { joinConditions: JoinCondition[]; } -const SelectedFields: React.FC<{ tableConfigs: TableConfig[] }> = ({ tableConfigs }) => { +const SelectedFields: FC<{ tableConfigs: TableConfig[] }> = ({ tableConfigs }) => { const fields = tableConfigs.flatMap((config) => config.selectedFields.map((field) => ({ key: `${config.tableName}-${field}`, @@ -63,7 +63,7 @@ const SelectedFields: React.FC<{ tableConfigs: TableConfig[] }> = ({ tableConfig ); }; -const JoinConditions: React.FC<{ joinConfig: JoinConfig }> = ({ joinConfig }) => { +const JoinConditions: FC<{ joinConfig: JoinConfig }> = ({ joinConfig }) => { return ( <> {joinConfig.joinConditions.map((join, index) => {