diff --git a/apps/docs/content/docs/guide/routing.mdx b/apps/docs/content/docs/guide/routing.mdx index ece0f57349..92044633c8 100644 --- a/apps/docs/content/docs/guide/routing.mdx +++ b/apps/docs/content/docs/guide/routing.mdx @@ -269,7 +269,7 @@ function RootRoute() { return ( router.navigate({ to, ...options })} - useHref={(to) => router.buildLocation(to).href} + useHref={(to) => router.buildLocation({ to }).href} > {/* You app here... */} diff --git a/packages/core/react/README.md b/packages/core/react/README.md index 48cba90b64..242f0440c2 100644 --- a/packages/core/react/README.md +++ b/packages/core/react/README.md @@ -39,7 +39,7 @@ Visit [https://storybook.nextui.org](https://storybook.nextui.org/) to view the Canary versions are available after every merge into `canary` branch. You can install the packages with the tag `canary` in npm to use the latest changes before the next production release. - [Documentation](https://canary.nextui.org/docs) -- [Storybook](https://canary-storybook.nextui.org) +- [Storybook](https://canary-sb.nextui.org) ## Community