fix(modal): remove unnecessary state update (#3437)
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user