mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(docs): buildLocation expects an object (#4118)
* fix(docs): routing.mdx * Delete .changeset/pre.json
This commit is contained in:
parent
ce1546c983
commit
95818914c7
@ -269,7 +269,7 @@ function RootRoute() {
|
||||
return (
|
||||
<NextUIProvider
|
||||
navigate={(to, options) => router.navigate({ to, ...options })}
|
||||
useHref={(to) => router.buildLocation(to).href}
|
||||
useHref={(to) => router.buildLocation({ to }).href}
|
||||
>
|
||||
{/* You app here... */}
|
||||
</NextUIProvider>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user