Skip to content

Commit 2915b5c

Browse files
committed
Use more appropriate variable name
1 parent e5732c3 commit 2915b5c

File tree

1 file changed

+2
-2
lines changed
  • src/inertiajs-stubs/resources/js

1 file changed

+2
-2
lines changed

src/inertiajs-stubs/resources/js/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ new Vue({
99
render: h => h(Inertia, {
1010
props: {
1111
initialPage: JSON.parse(app.dataset.page),
12-
resolveComponent: (component) => {
13-
return import(`@/Pages/${component}`).then(module => module.default)
12+
resolveComponent: (name) => {
13+
return import(`@/Pages/${name}`).then(module => module.default)
1414
},
1515
},
1616
}),

0 commit comments

Comments
 (0)