Skip to content
Snippets Groups Projects
Commit b1a0fa99 authored by RMidhunSuresh's avatar RMidhunSuresh
Browse files

Use named params in Platform

parent 834f6b39
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ async function main() {
}
root.className = "hydrogen";
const config = await fetchConfig();
const platform = new Platform(root, assetPaths, {}, { development: import.meta.env.DEV });
const platform = new Platform({container: root, assetPaths, config: {}, options: { development: import.meta.env.DEV }});
const navigation = new Navigation(allowsChild);
platform.setNavigation(navigation);
const urlRouter = createRouter({ navigation, history: platform.history });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment