Closed fabiancook closed 2 years ago
https://github.com/WICG/app-history/blob/7c0332b30746b14863f717404402bc49e497a2b2/README.md?plain=1#L206
Instead of
appHistory.reload({ state: { ...appHistory.current.getState(), test: 3 });
The readme should have:
appHistory.reload({ state: { ...appHistory.current.getState(), test: 3 }});
Seen more clearly:
appHistory.reload({ state: { ...appHistory.current.getState(), test: 3 } // <- This is missing here });
(An additional closing bracket } to close the state object)
}
Thank you!
https://github.com/WICG/app-history/blob/7c0332b30746b14863f717404402bc49e497a2b2/README.md?plain=1#L206
Instead of
The readme should have:
Seen more clearly:
(An additional closing bracket
}
to close the state object)