fix app crashes
This commit is contained in:
parent
db18f1c4e6
commit
11dc99a6d6
|
@ -26,7 +26,7 @@ function CollectionShare({ collectionSummary, ...props }: Props) {
|
|||
props.onClose();
|
||||
}
|
||||
};
|
||||
if (!props.collection) {
|
||||
if (!props.collection || !collectionSummary) {
|
||||
return <></>;
|
||||
}
|
||||
const { type } = collectionSummary;
|
||||
|
|
Loading…
Reference in a new issue