mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-11 02:13:48 +09:00
fix crash
This commit is contained in:
parent
2a39425807
commit
30439eab8b
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class PageMainImport extends React.Component<I.PageComponent, State> {
|
|||
};
|
||||
|
||||
const space = UtilObject.getSpaceviewBySpaceId(message.spaceId);
|
||||
if (!space._empty_) {
|
||||
if (!space) {
|
||||
this.setState({ error: translate('pageMainInviteErrorDuplicate') });
|
||||
return;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue