From d4c518076181a22635552092ca090955bceffeae Mon Sep 17 00:00:00 2001 From: Kilu Date: Sat, 29 Jun 2024 16:29:54 +0800 Subject: [PATCH] fix: bugs --- frontend/appflowy_web_app/src/components/app/AppConfig.tsx | 2 -- .../src/components/editor/components/blocks/table/Table.tsx | 1 - 2 files changed, 3 deletions(-) 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';