close empty collection selection modal
This commit is contained in:
parent
c1c4d1272b
commit
3ed4fc2b4d
|
@ -40,6 +40,7 @@ function CollectionSelector({
|
|||
}: Props) {
|
||||
useEffect(() => {
|
||||
if (directlyShowNextModal && attributes) {
|
||||
props.onHide();
|
||||
attributes.showNextModal();
|
||||
}
|
||||
}, [attributes]);
|
||||
|
|
Loading…
Reference in a new issue