Skip to content

Commit f4ead78

Browse files
committed
fix(core): correct type import
1 parent 201a080 commit f4ead78

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

packages/frontend/core/src/components/blocksuite/block-suite-editor/starter-bar.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
TemplateListMenu,
55
} from '@affine/core/modules/template-doc';
66
import { useI18n } from '@affine/i18n';
7-
import type { Blocks } from '@blocksuite/affine/store';
7+
import type { Store } from '@blocksuite/affine/store';
88
import {
99
AiIcon,
1010
EdgelessIcon,
@@ -43,7 +43,7 @@ const Badge = forwardRef<
4343
);
4444
});
4545

46-
const StarterBarNotEmpty = ({ doc }: { doc: Blocks }) => {
46+
const StarterBarNotEmpty = ({ doc }: { doc: Store }) => {
4747
const t = useI18n();
4848

4949
const templateDocService = useService(TemplateDocService);
@@ -108,7 +108,7 @@ const StarterBarNotEmpty = ({ doc }: { doc: Blocks }) => {
108108
);
109109
};
110110

111-
export const StarterBar = ({ doc }: { doc: Blocks }) => {
111+
export const StarterBar = ({ doc }: { doc: Store }) => {
112112
const [isEmpty, setIsEmpty] = useState(doc.isEmpty);
113113

114114
useEffect(() => {

0 commit comments

Comments
 (0)