File tree 1 file changed +3
-3
lines changed
packages/frontend/core/src/components/blocksuite/block-suite-editor
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
TemplateListMenu ,
5
5
} from '@affine/core/modules/template-doc' ;
6
6
import { useI18n } from '@affine/i18n' ;
7
- import type { Blocks } from '@blocksuite/affine/store' ;
7
+ import type { Store } from '@blocksuite/affine/store' ;
8
8
import {
9
9
AiIcon ,
10
10
EdgelessIcon ,
@@ -43,7 +43,7 @@ const Badge = forwardRef<
43
43
) ;
44
44
} ) ;
45
45
46
- const StarterBarNotEmpty = ( { doc } : { doc : Blocks } ) => {
46
+ const StarterBarNotEmpty = ( { doc } : { doc : Store } ) => {
47
47
const t = useI18n ( ) ;
48
48
49
49
const templateDocService = useService ( TemplateDocService ) ;
@@ -108,7 +108,7 @@ const StarterBarNotEmpty = ({ doc }: { doc: Blocks }) => {
108
108
) ;
109
109
} ;
110
110
111
- export const StarterBar = ( { doc } : { doc : Blocks } ) => {
111
+ export const StarterBar = ( { doc } : { doc : Store } ) => {
112
112
const [ isEmpty , setIsEmpty ] = useState ( doc . isEmpty ) ;
113
113
114
114
useEffect ( ( ) => {
You can’t perform that action at this time.
0 commit comments