Skip to content

Commit

Permalink
feat: update route manager
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewPattell committed Feb 12, 2024
1 parent e190b27 commit 5eeb4e0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -21,7 +21,7 @@
"@lomray/consistent-suspense": "^2.0.1",
"@lomray/react-head-manager": "^2.0.1",
"@lomray/react-mobx-manager": "^3.0.1",
"@lomray/react-route-manager": "^1.2.1",
"@lomray/react-route-manager": "^2.0.0",
"@lomray/vite-ssr-boost": "^2.3.0",
"axios": "^1.6.7",
"classnames": "^2.5.1",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/details/index/components/user/index.tsx
Expand Up @@ -30,7 +30,7 @@ const User: FC<Props> = ({ userId, mainStore: { user, suspense, getUser } }) =>
)}
<div>
<span className={styles.col}>User from suspense:</span>{' '}
<Link to={RouteManager.makeURL('details.user', { id: user?.id ?? '' })}>
<Link to={RouteManager.makeURL('details.user', { id: user!.id })}>
{user?.id} ({user?.name})
</Link>
</div>
Expand Down

0 comments on commit 5eeb4e0

Please sign in to comment.