Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: typo

lawvsc699fd4100a2
diff --git a/libs/components/editor-core/src/recast-block/types/view.ts b/libs/components/editor-core/src/recast-block/types/view.ts
index c7e957e5bf..acc9c72f55 100644
--- a/libs/components/editor-core/src/recast-block/types/view.ts
+++ b/libs/components/editor-core/src/recast-block/types/view.ts
@@ -30,11 +30,11 @@ export interface PageView extends BaseView {
export interface KanbanView extends BaseView {
type: RecastScene.Kanban;
- groupBy: RecastPropertyId;
+ groupBy?: RecastPropertyId;
}
export interface TableView extends BaseView {
- type: RecastScene.Kanban;
+ type: RecastScene.Table;
}
export type RecastView = PageView | KanbanView | TableView;