mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-14 00:27:12 +00:00
Fix deprecated parameters js warning (#3220)
Same as #3219 but for Leptos 0.6
This commit is contained in:
parent
35bb79bb05
commit
b317d47fd5
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue