mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
UI: Use text.previousPage for previous page navigation (#1637)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"fumadocs-ui": patch
|
||||
---
|
||||
|
||||
UI: Use `text.previousPage` for previous page navigation
|
||||
@@ -209,7 +209,7 @@ function FooterItem({ item, index }: { item: Item; index: 0 | 1 }) {
|
||||
)}
|
||||
>
|
||||
<Icon className="-mx-1 size-4 shrink-0 rtl:rotate-180" />
|
||||
<p>{title ?? text.nextPage}</p>
|
||||
<p>{title ?? (index == 0 ? text.previousPage : text.nextPage) }</p>
|
||||
</div>
|
||||
<p
|
||||
className={cn(
|
||||
|
||||
Reference in New Issue
Block a user