mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: bugs
This commit is contained in:
parent
7b133e60fc
commit
d4c5180761
@ -47,8 +47,6 @@ function AppConfig({ children }: { children: React.ReactNode }) {
|
|||||||
const { enqueueSnackbar, closeSnackbar } = useSnackbar();
|
const { enqueueSnackbar, closeSnackbar } = useSnackbar();
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const commonClasses = 'flex items-center justify-center gap-3 bg-bg-body';
|
|
||||||
|
|
||||||
window.toast = {
|
window.toast = {
|
||||||
success: (message: string) => {
|
success: (message: string) => {
|
||||||
enqueueSnackbar(message, { variant: 'success' });
|
enqueueSnackbar(message, { variant: 'success' });
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
import { AFScroller } from '@/components/_shared/scroller';
|
|
||||||
import { EditorElementProps, TableCellNode, TableNode } from '@/components/editor/editor.type';
|
import { EditorElementProps, TableCellNode, TableNode } from '@/components/editor/editor.type';
|
||||||
import React, { forwardRef, memo, useMemo } from 'react';
|
import React, { forwardRef, memo, useMemo } from 'react';
|
||||||
import { Grid } from '@atlaskit/primitives';
|
import { Grid } from '@atlaskit/primitives';
|
||||||
|
Loading…
Reference in New Issue
Block a user