diff --git a/frontend/appflowy_web_app/src/components/app/AppConfig.tsx b/frontend/appflowy_web_app/src/components/app/AppConfig.tsx index a4bda1576e..b0649b3404 100644 --- a/frontend/appflowy_web_app/src/components/app/AppConfig.tsx +++ b/frontend/appflowy_web_app/src/components/app/AppConfig.tsx @@ -47,8 +47,6 @@ function AppConfig({ children }: { children: React.ReactNode }) { const { enqueueSnackbar, closeSnackbar } = useSnackbar(); useEffect(() => { - const commonClasses = 'flex items-center justify-center gap-3 bg-bg-body'; - window.toast = { success: (message: string) => { enqueueSnackbar(message, { variant: 'success' }); diff --git a/frontend/appflowy_web_app/src/components/editor/components/blocks/table/Table.tsx b/frontend/appflowy_web_app/src/components/editor/components/blocks/table/Table.tsx index ff32c36e8b..2640bfb8cf 100644 --- a/frontend/appflowy_web_app/src/components/editor/components/blocks/table/Table.tsx +++ b/frontend/appflowy_web_app/src/components/editor/components/blocks/table/Table.tsx @@ -1,4 +1,3 @@ -import { AFScroller } from '@/components/_shared/scroller'; import { EditorElementProps, TableCellNode, TableNode } from '@/components/editor/editor.type'; import React, { forwardRef, memo, useMemo } from 'react'; import { Grid } from '@atlaskit/primitives';