Skip to content

Commit c5af09f

Browse files
authoredMar 29, 2025
UI: Use text.previousPage for previous page navigation (#1637)
1 parent d5193e7 commit c5af09f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎.changeset/five-pears-sort.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"fumadocs-ui": patch
3+
---
4+
5+
UI: Use `text.previousPage` for previous page navigation

‎packages/ui/src/page-client.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function FooterItem({ item, index }: { item: Item; index: 0 | 1 }) {
209209
)}
210210
>
211211
<Icon className="-mx-1 size-4 shrink-0 rtl:rotate-180" />
212-
<p>{title ?? text.nextPage}</p>
212+
<p>{title ?? (index == 0 ? text.previousPage : text.nextPage) }</p>
213213
</div>
214214
<p
215215
className={cn(

0 commit comments

Comments
 (0)