File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
packages/svelte-hmr/runtime/svelte-native Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ export const adapter = class ProxyAdapterNative extends ProxyAdapterDom {
139139 } else {
140140 //some other handler wireup, we will just pass it on.
141141 if ( on ) {
142- on ( type , handler ) ;
142+ on ( type , handler )
143143 }
144144 }
145145 }
@@ -161,8 +161,11 @@ export const adapter = class ProxyAdapterNative extends ProxyAdapterDom {
161161 // TODO is it really true that components' elements cannot move in the
162162 // DOM? what about keyed list?
163163 //
164-
165- const isNativePage = ( target . tagName === 'fragment' || target . tagName === 'frame' ) && target . firstChild && target . firstChild . tagName == 'page'
164+
165+ const isNativePage =
166+ ( target . tagName === 'fragment' || target . tagName === 'frame' ) &&
167+ target . firstChild &&
168+ target . firstChild . tagName == 'page'
166169 if ( isNativePage ) {
167170 const nativePageElement = target . firstChild
168171 this . interceptPageNavigation ( nativePageElement )
You can’t perform that action at this time.
0 commit comments