Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat(scss): remove last scss file

tzhangchi8df4ac7f14ad
diff --git a/libs/components/editor-blocks/src/components/table/basic-table.scss b/libs/components/editor-blocks/src/components/table/basic-table.scss
deleted file mode 100644
index d5546784fc..0000000000
--- a/libs/components/editor-blocks/src/components/table/basic-table.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-.v-basic-table-body {
- overflow: hidden !important;
- &:hover {
- overflow: auto !important;
- }
-}
diff --git a/libs/components/editor-blocks/src/components/table/basic-table.tsx b/libs/components/editor-blocks/src/components/table/basic-table.tsx
index 04507ddebd..01f6a154ef 100644
--- a/libs/components/editor-blocks/src/components/table/basic-table.tsx
+++ b/libs/components/editor-blocks/src/components/table/basic-table.tsx
@@ -1,19 +1,19 @@
import {
- useMemo,
memo,
+ useCallback,
+ useLayoutEffect,
+ useMemo,
useRef,
useState,
- useLayoutEffect,
- useCallback,
} from 'react';
-import { VariableSizeGrid, areEqual } from 'react-window';
import type {
GridChildComponentProps,
GridItemKeySelector,
} from 'react-window';
+import { VariableSizeGrid } from 'react-window';
import style9 from 'style9';
-import './basic-table.scss';
+
export interface TableColumn {
dataKey: string;
label: string;