Commit b83fda83 by Jonathan Reinink

Use better variable name

1 parent 3eba742d
Showing with 2 additions and 2 deletions
...@@ -12,8 +12,8 @@ new Vue({ ...@@ -12,8 +12,8 @@ new Vue({
render: h => h(Inertia, { render: h => h(Inertia, {
props: { props: {
initialPage: JSON.parse(app.dataset.page), initialPage: JSON.parse(app.dataset.page),
resolveComponent: (component) => { resolveComponent: (name) => {
return import(`@/Pages/${component}`).then(module => module.default) return import(`@/Pages/${name}`).then(module => module.default)
}, },
}, },
}), }),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!