We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04a9725 commit d296b49Copy full SHA for d296b49
runtime/svelte-hooks.js
@@ -85,6 +85,8 @@ export const createProxiedComponent = (
85
const props = Object.assign({}, options.props)
86
if (!noPreserveState && restore.state) {
87
props.$$inject = restore.state
88
+ } else {
89
+ delete props.$$inject
90
}
91
options = Object.assign({}, initialOptions, { target, anchor, props })
92
0 commit comments