Skip to content

Commit 836ea9d

Browse files
committed
chore: Lint fixes
1 parent 3a2cf4b commit 836ea9d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/svelte-hmr/lib/make-hot.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ const renderApplyHmr = ({
7676
emitCss,
7777
imports = [
7878
`import * as ${globalName} from ${JSON.stringify(hotApiImport)}`,
79-
`import { adapter as ${importAdapterName} } from ${JSON.stringify(adapterImport)}`,
79+
`import { adapter as ${importAdapterName} } from ${JSON.stringify(
80+
adapterImport
81+
)}`,
8082
],
8183
}) =>
8284
// this silly formatting keeps all original characters in their position,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export const adapter = class ProxyAdapterNative extends ProxyAdapterDom {
228228
const newPageElement = this.nativePageElement
229229

230230
// svelte-native uses navigateFrom event + e.isBackNavigation to know when to $destroy the component.
231-
// To keep that behaviour after refresh, we move event handler from old native view to the new one using
231+
// To keep that behaviour after refresh, we move event handler from old native view to the new one using
232232
// __navigateFromHandler property that svelte-native provides us with.
233233
const navigateFromHandler = oldNativeView.__navigateFromHandler
234234
if (navigateFromHandler) {

0 commit comments

Comments
 (0)