Skip to content

Commit

Permalink
fix: Lint issues fixed for correlation CRUD operations (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
praveen5959 authored Jan 17, 2025
1 parent e94a62e commit a53b1c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/Correlation/components/SavedCorrelationItem.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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}`,
Expand All @@ -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) => {
Expand Down

0 comments on commit a53b1c1

Please sign in to comment.