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