mirror of
https://github.com/MCKero6423/fuwari.git
synced 2026-10-02 03:15:35 +00:00
fix: The previous and next pages carry baseurl (#292)
This commit is contained in:
1 parent
51cc65eba4
commit
a19450ffb2
1 file changed
+2
-2
@@ -51,7 +51,7 @@ const getPageUrl = (p: number) => {
|
||||
---
|
||||
|
||||
<div class:list={[className, "flex flex-row gap-3 justify-center"]} style={style}>
|
||||
<a href={url(page.url.prev || "")} aria-label={page.url.prev ? "Previous Page" : null}
|
||||
<a href={page.url.prev || ""} aria-label={page.url.prev ? "Previous Page" : null}
|
||||
class:list={["btn-card overflow-hidden rounded-lg text-[var(--primary)] w-11 h-11",
|
||||
{"disabled": page.url.prev == undefined}
|
||||
]}
|
||||
@@ -73,7 +73,7 @@ const getPageUrl = (p: number) => {
|
||||
>{p}</a>
|
||||
})}
|
||||
</div>
|
||||
<a href={url(page.url.next || "")} aria-label={page.url.next ? "Next Page" : null}
|
||||
<a href={page.url.next || ""} aria-label={page.url.next ? "Next Page" : null}
|
||||
class:list={["btn-card overflow-hidden rounded-lg text-[var(--primary)] w-11 h-11",
|
||||
{"disabled": page.url.next == undefined}
|
||||
]}
|
||||
|
||||
Reference in new issue
Block a user