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: fix download fonts script (#8125)

EYHN52cd6102cbcb
diff --git a/scripts/download-blocksuite-fonts.mjs b/scripts/download-blocksuite-fonts.mjs
index b1e9d5d444..84b89d01a0 100644
--- a/scripts/download-blocksuite-fonts.mjs
+++ b/scripts/download-blocksuite-fonts.mjs
@@ -2,8 +2,7 @@ import { writeFile } from 'node:fs/promises';
import { join } from 'node:path';
import { fileURLToPath } from 'node:url';
-// eslint-disable-next-line @typescript-eslint/no-restricted-imports
-import { AffineCanvasTextFonts } from '@blocksuite/blocks/dist/surface-block/consts.js';
+import { AffineCanvasTextFonts } from '@blocksuite/affine-block-surface';
const fontPath = join(
fileURLToPath(import.meta.url),