Skip to content

Commit b4ae722

Browse files
committed
Make sure lastAppProps always have some value.
1 parent 5be9c04 commit b4ae722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const {
2020

2121
const Component = evalScript(component).default
2222
const ErrorComponent = evalScript(errorComponent).default
23-
let lastAppProps
23+
let lastAppProps = {}
2424

2525
export const router = createRouter(pathname, query, {
2626
Component,

0 commit comments

Comments
 (0)