Skip to content

Commit d2f723a

Browse files
committed
regenerate
1 parent b8c6b6c commit d2f723a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

packages/svelte/src/internal/client/warnings.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -171,17 +171,6 @@ export function lifecycle_double_unmount() {
171171
}
172172
}
173173

174-
/**
175-
* Tried to unmount a state proxy, rather than a component
176-
*/
177-
export function state_proxy_unmount() {
178-
if (DEV) {
179-
console.warn(`%c[svelte] state_proxy_unmount\n%cTried to unmount a state proxy, rather than a component\nhttps://svelte.dev/e/state_proxy_unmount`, bold, normal);
180-
} else {
181-
console.warn(`https://svelte.dev/e/state_proxy_unmount`);
182-
}
183-
}
184-
185174
/**
186175
* %parent% passed property `%prop%` to %child% with `bind:`, but its parent component %owner% did not declare `%prop%` as a binding. Consider creating a binding between %owner% and %parent% (e.g. `bind:%prop%={...}` instead of `%prop%={...}`)
187176
* @param {string} parent
@@ -235,6 +224,17 @@ export function state_proxy_equality_mismatch(operator) {
235224
}
236225
}
237226

227+
/**
228+
* Tried to unmount a state proxy, rather than a component
229+
*/
230+
export function state_proxy_unmount() {
231+
if (DEV) {
232+
console.warn(`%c[svelte] state_proxy_unmount\n%cTried to unmount a state proxy, rather than a component\nhttps://svelte.dev/e/state_proxy_unmount`, bold, normal);
233+
} else {
234+
console.warn(`https://svelte.dev/e/state_proxy_unmount`);
235+
}
236+
}
237+
238238
/**
239239
* A `<svelte:boundary>` `reset` function only resets the boundary the first time it is called
240240
*/

0 commit comments

Comments
 (0)