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: type check in plugins (#3337)

Alex Yangc319e7e707f8
diff --git a/plugins/hello-world/src/app.tsx b/plugins/hello-world/src/app.tsx
index a809e3b491..149e29d788 100644
--- a/plugins/hello-world/src/app.tsx
+++ b/plugins/hello-world/src/app.tsx
@@ -1,5 +1,5 @@
import { IconButton, Tooltip } from '@affine/component';
-import { AffineLogoSBlue2_1Icon } from '@blocksuite/icons';
+import { Logo1Icon } from '@blocksuite/icons';
import { useCallback } from 'react';
export const HeaderItem = () => {
@@ -10,7 +10,7 @@ export const HeaderItem = () => {
console.log('clicked hello world!');
}, [])}
>
- <AffineLogoSBlue2_1Icon />
+ <Logo1Icon />
</IconButton>
</Tooltip>
);
diff --git a/tsconfig.json b/tsconfig.json
index cb69ec5421..5172333b43 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -117,9 +117,15 @@
{
"path": "./plugins/bookmark-block"
},
+ {
+ "path": "./plugins/bookmark"
+ },
{
"path": "./plugins/copilot"
},
+ {
+ "path": "./plugins/hello-world"
+ },
// Packages
{
"path": "./packages/cli"