mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-23 08:20:39 +01:00
fix(useOverlay)!: correct spelling of unmount function (#4051)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -93,7 +93,7 @@ function _useOverlay() {
|
||||
overlays.forEach(overlay => close(overlay.id))
|
||||
}
|
||||
|
||||
const unMount = (id: symbol): void => {
|
||||
const unmount = (id: symbol): void => {
|
||||
const overlay = getOverlay(id)
|
||||
|
||||
overlay.isMounted = false
|
||||
@@ -135,7 +135,7 @@ function _useOverlay() {
|
||||
closeAll,
|
||||
create,
|
||||
patch,
|
||||
unMount,
|
||||
unmount,
|
||||
isOpen
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user