chore: remove redundant Non-Null Assertion (#728)
This commit is contained in:
parent
4669215ca2
commit
8a4412077c
@ -217,7 +217,7 @@ export function createAppAPI<HostNode, HostElement>(
|
|||||||
|
|
||||||
unmount() {
|
unmount() {
|
||||||
if (isMounted) {
|
if (isMounted) {
|
||||||
render(null, app._container!)
|
render(null, app._container)
|
||||||
} else if (__DEV__) {
|
} else if (__DEV__) {
|
||||||
warn(`Cannot unmount an app that is not mounted.`)
|
warn(`Cannot unmount an app that is not mounted.`)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user