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
fix: breaking function signature on showImportModal onSuceessHandler (#6011)
fourdim0ff1e8d2f781
diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-page-list/utils.tsx b/packages/frontend/core/src/components/blocksuite/block-suite-page-list/utils.tsxindex cc7a6e380e..6817535ee9 100644--- a/packages/frontend/core/src/components/blocksuite/block-suite-page-list/utils.tsx+++ b/packages/frontend/core/src/components/blocksuite/block-suite-page-list/utils.tsx@@ -42,11 +42,11 @@ export const usePageHelper = (blockSuiteWorkspace: BlockSuiteWorkspace) => {const { showImportModal } = await import('@blocksuite/blocks');const onSuccess = (pageIds: string[],- options: { isWorkspaceFile: boolean }+ options: { isWorkspaceFile: boolean; importedCount: number }) => {toast(- `Successfully imported ${pageIds.length} Page${- pageIds.length > 1 ? 's' : ''+ `Successfully imported ${options.importedCount} Page${+ options.importedCount > 1 ? 's' : ''}.`);if (options.isWorkspaceFile) {