mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: some style
This commit is contained in:
parent
8c0d451630
commit
15dfd194a1
@ -2,7 +2,7 @@ import { BlockData, BlockType, InlineBlockType, YjsEditorKey } from '@/applicati
|
||||
import { BulletedList } from '@/components/editor/components/blocks/bulleted-list';
|
||||
import { Callout } from '@/components/editor/components/blocks/callout';
|
||||
import { CodeBlock } from '@/components/editor/components/blocks/code';
|
||||
// import { DatabaseBlock } from '@/components/editor/components/blocks/database';
|
||||
import { DatabaseBlock } from '@/components/editor/components/blocks/database';
|
||||
import { DividerNode } from '@/components/editor/components/blocks/divider';
|
||||
import { Heading } from '@/components/editor/components/blocks/heading';
|
||||
import { ImageBlock } from '@/components/editor/components/blocks/image';
|
||||
@ -70,10 +70,10 @@ export const Element = memo(
|
||||
return TableBlock;
|
||||
case BlockType.TableCell:
|
||||
return TableCellBlock;
|
||||
// case BlockType.GridBlock:
|
||||
// case BlockType.BoardBlock:
|
||||
// case BlockType.CalendarBlock:
|
||||
// return DatabaseBlock;
|
||||
case BlockType.GridBlock:
|
||||
case BlockType.BoardBlock:
|
||||
case BlockType.CalendarBlock:
|
||||
return DatabaseBlock;
|
||||
default:
|
||||
return UnSupportedBlock;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user