Skip to content

Commit ec81431

Browse files
committed
Update README.md
1 parent b1a35af commit ec81431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UPGRADE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Inertia makes use of a `require()` call that is more complex to replicate with V
143143
The following function can be used instead:
144144

145145
```js
146-
export function resolvePageComponent(path, pages) {
146+
function resolvePageComponent(path, pages) {
147147
if (typeof pages[path] === undefined) {
148148
throw new Error(`Page not found: ${path}`)
149149
}

0 commit comments

Comments
 (0)