Skip to content

Commit 647e9f4

Browse files
committed
chore: more lint fixes
1 parent ccb46f1 commit 647e9f4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/svelte-hmr/runtime/svelte-native/proxy-adapter-native.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)