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() {
|
||||
if (isMounted) {
|
||||
render(null, app._container!)
|
||||
render(null, app._container)
|
||||
} else if (__DEV__) {
|
||||
warn(`Cannot unmount an app that is not mounted.`)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user