From e0ed2fb830638e891995527ee313f5e3310b7120 Mon Sep 17 00:00:00 2001 From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com> Date: Thu, 15 Jun 2023 13:02:14 +0200 Subject: [PATCH] fix: table imports (#3982) ## About the changes Quick fix for build warnings on frontend - prevent circular dependencies. --- .../Table/VirtualizedTable/VirtualizedTable.tsx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/frontend/src/component/common/Table/VirtualizedTable/VirtualizedTable.tsx b/frontend/src/component/common/Table/VirtualizedTable/VirtualizedTable.tsx index 69ebaae634..523baece08 100644 --- a/frontend/src/component/common/Table/VirtualizedTable/VirtualizedTable.tsx +++ b/frontend/src/component/common/Table/VirtualizedTable/VirtualizedTable.tsx @@ -1,12 +1,8 @@ import { useMemo } from 'react'; -import { useTheme } from '@mui/material'; -import { - SortableTableHeader, - Table, - TableBody, - TableRow, - TableCell, -} from 'component/common/Table'; +import { useTheme, TableBody, TableRow } from '@mui/material'; +import { SortableTableHeader } from 'component/common/Table/SortableTableHeader/SortableTableHeader'; +import { TableCell } from 'component/common/Table/TableCell/TableCell'; +import { Table } from 'component/common/Table/Table/Table'; import { useVirtualizedRange } from 'hooks/useVirtualizedRange'; import { HeaderGroup, Row } from 'react-table';