Skip to content

Commit 8a44120

Browse files
authored
chore: remove redundant Non-Null Assertion (#728)
1 parent 4669215 commit 8a44120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/apiCreateApp.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export function createAppAPI<HostNode, HostElement>(
217217

218218
unmount() {
219219
if (isMounted) {
220-
render(null, app._container!)
220+
render(null, app._container)
221221
} else if (__DEV__) {
222222
warn(`Cannot unmount an app that is not mounted.`)
223223
}

0 commit comments

Comments
 (0)