We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b9b2ab commit a7cae69Copy full SHA for a7cae69
package.json
@@ -1,7 +1,7 @@
1
{
2
"name": "bun-react-ssr",
3
"module": "index.tsx",
4
- "version": "0.0.4",
+ "version": "0.0.5",
5
"repository": {
6
"type": "git",
7
"url": "https://github.com/codehz/bun-react-ssr"
router/index.tsx
@@ -64,7 +64,7 @@ export const RouterHost = ({
64
cachedFetchServerSideProps(pathname),
65
]);
66
if (currentVersion === version.current) {
67
- if (props.redirect) {
+ if (props?.redirect) {
68
navigate(props.redirect);
69
} else {
70
setCurrent(
0 commit comments