Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ removeModal
Function
removeModal
packages/react-aria/src/overlays/useModal.tsx:62–67 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
60
}
61
},
62
removeModal() {
63
setModalCount(count => count - 1);
64
if (parent) {
65
parent.removeModal();
66
}
67
}
68
}),
69
[parent, modalCount]
70
);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected