fix(ui): resolve circular dependency in TablePagination
Replace barrel file import with direct component imports to break the circular dependency chain between Table and TablePagination. The cycle was: index.ts → Table → TablePagination → index.ts Signed-off-by: Johan Persson <johanopersson@gmail.com>
This commit is contained in:
@@ -15,7 +15,9 @@
|
||||
*/
|
||||
|
||||
import clsx from 'clsx';
|
||||
import { Text, ButtonIcon, Select } from '../..';
|
||||
import { Text } from '../Text';
|
||||
import { ButtonIcon } from '../ButtonIcon';
|
||||
import { Select } from '../Select';
|
||||
import type { TablePaginationProps, PageSizeOption } from './types';
|
||||
import { useStyles } from '../../hooks/useStyles';
|
||||
import { TablePaginationDefinition } from './definition';
|
||||
|
||||
Reference in New Issue
Block a user