1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

fix default type id

This commit is contained in:
Andrew Simachev 2024-02-28 17:06:03 +01:00
parent 769820df37
commit 41b1a2600d
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8

View file

@ -214,8 +214,7 @@ const Create = observer(class Create extends React.Component<I.PageComponent, St
};
if (!this.details.type) {
const bookmark = dbStore.getBookmarkType();
this.details.type = bookmark?.id || options[0].id;
this.details.type = Constant.typeKey.bookmark;
};
this.refType.setOptions(options);