1
1
import { Stack , Box , Button , Text , px , Code } from '@mantine/core' ;
2
2
import { IconClock , IconEye , IconEyeOff , IconTrash , IconX } from '@tabler/icons-react' ;
3
- import { useState , useCallback , Fragment } from 'react' ;
3
+ import { useState , useCallback , Fragment , FC } from 'react' ;
4
4
import classes from '../styles/SavedCorrelationItem.module.css' ;
5
5
import { Correlation } from '@/@types/parseable/api/correlation' ;
6
6
import dayjs from 'dayjs' ;
@@ -42,7 +42,7 @@ interface JoinConfig {
42
42
joinConditions : JoinCondition [ ] ;
43
43
}
44
44
45
- const SelectedFields : React . FC < { tableConfigs : TableConfig [ ] } > = ( { tableConfigs } ) => {
45
+ const SelectedFields : FC < { tableConfigs : TableConfig [ ] } > = ( { tableConfigs } ) => {
46
46
const fields = tableConfigs . flatMap ( ( config ) =>
47
47
config . selectedFields . map ( ( field ) => ( {
48
48
key : `${ config . tableName } -${ field } ` ,
@@ -63,7 +63,7 @@ const SelectedFields: React.FC<{ tableConfigs: TableConfig[] }> = ({ tableConfig
63
63
) ;
64
64
} ;
65
65
66
- const JoinConditions : React . FC < { joinConfig : JoinConfig } > = ( { joinConfig } ) => {
66
+ const JoinConditions : FC < { joinConfig : JoinConfig } > = ( { joinConfig } ) => {
67
67
return (
68
68
< >
69
69
{ joinConfig . joinConditions . map ( ( join , index ) => {
0 commit comments