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.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
chore: set kanban RefPageProvider
lawvs4a99080860d1
diff --git a/libs/components/editor-blocks/src/blocks/group/scene-kanban/SceneKanban.tsx b/libs/components/editor-blocks/src/blocks/group/scene-kanban/SceneKanban.tsxindex 27d5543177..73424708a7 100644--- a/libs/components/editor-blocks/src/blocks/group/scene-kanban/SceneKanban.tsx+++ b/libs/components/editor-blocks/src/blocks/group/scene-kanban/SceneKanban.tsx@@ -4,30 +4,33 @@ import { SceneKanbanContext } from './context';import { CardContainerWrapper } from './dndable/wrapper/CardContainerWrapper';import type { ComponentType } from 'react';import type { CreateView } from '@toeverything/framework/virgo';+import { RefPageProvider } from './RefPage';export const SceneKanban: ComponentType<CreateView> = withKanban<CreateView>(({ editor, block }) => {const { kanban } = useKanban();return (- <SceneKanbanContext.Provider value={{ editor, block }}>- <CardContainerWrapper- dataSource={kanban}- render={({- activeId,- items,- containerIds,- isSortingContainer,- }) => (- <CardContainer- activeId={activeId}- items={items}- isSortingContainer={isSortingContainer}- containerIds={containerIds}- />- )}- />- </SceneKanbanContext.Provider>+ <RefPageProvider>+ <SceneKanbanContext.Provider value={{ editor, block }}>+ <CardContainerWrapper+ dataSource={kanban}+ render={({+ activeId,+ items,+ containerIds,+ isSortingContainer,+ }) => (+ <CardContainer+ activeId={activeId}+ items={items}+ isSortingContainer={isSortingContainer}+ containerIds={containerIds}+ />+ )}+ />+ </SceneKanbanContext.Provider>+ </RefPageProvider>);});