fix(modal): remove unnecessary state update (#3437)

This commit is contained in:
Konv Suu
2025-04-10 14:51:53 +08:00
committed by GitHub
parent 4ce80cda9d
commit dece7cda1a
@@ -96,7 +96,6 @@ export const ModalInternal = memo(
if (!CustomModalComponent) {
dismissing().then(() => {
setStack((p) => p.filter((modal) => modal.id !== item.id))
setCurrentIsClosing(false)
})
} else {
nextFrame(() => {