Fix deprecated parameters js warning (#3220)

Same as #3219 but for Leptos 0.6
This commit is contained in:
Paul Hansen 2024-11-09 21:46:24 -06:00 committed by GitHub
parent 35bb79bb05
commit b317d47fd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -136,7 +136,7 @@ pub fn html_parts_separated(
idle(() => {{
import('{pkg_path}/{output_name}{js_hash}.js')
.then(mod => {{
mod.default('{pkg_path}/{wasm_output_name}{wasm_hash}.wasm').then({import_callback});
mod.default({{module_or_path: '{pkg_path}/{wasm_output_name}{wasm_hash}.wasm'}}).then({import_callback});
}})
}});
</script>