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({
render: h => h(Inertia, {
props: {
initialPage: JSON.parse(app.dataset.page),
resolveComponent: (component) => {
return import(`@/Pages/${component}`).then(module => module.default)
resolveComponent: (name) => {
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!