mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
feat: new collections (#4530)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
This commit is contained in:
@@ -14,7 +14,7 @@ export const getPagePreviewText = (page: Page) => {
|
||||
.slice(0, 10)
|
||||
.map(block => block.text.toString())
|
||||
.join('\n');
|
||||
return text.slice(0, 30);
|
||||
return text.slice(0, 300);
|
||||
};
|
||||
|
||||
export function useBlockSuitePagePreview(page: Page): Atom<string> {
|
||||
|
||||
Reference in New Issue
Block a user