fix: bugs

This commit is contained in:
Kilu 2024-06-29 16:29:54 +08:00
parent 7b133e60fc
commit d4c5180761
2 changed files with 0 additions and 3 deletions

View File

@ -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' });

View File

@ -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';