Skip to content

Commit

Permalink
Fix deprecated parameters js warning (#3220)
Browse files Browse the repository at this point in the history
Same as #3219 but for Leptos 0.6
  • Loading branch information
paul-hansen authored Nov 10, 2024
1 parent 35bb79b commit b317d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit b317d47

Please sign in to comment.