fix closeAllModals (#4629)

This commit is contained in:
Nays 2026-09-27 20:54:36 +03:00 • committed by GitHub
parent 46e81fb212
commit 799eeba828
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ const ModalAPI: t.ModalAPI = mapMangledModuleLazy(".modalKey?", {
openModalLazy: filters.byCode(".modalKey?"),
openModal: filters.byCode(",instant:"),
closeModal: filters.byCode(".onCloseCallback()"),
closeAllModals: filters.byCode(".getState();for")
closeAllModals: filters.byCode(".getState();for", " in ")
});
export const { openModalLazy, openModal, closeModal, closeAllModals } = ModalAPI;