[fix] hub page button not showing/working

This commit is contained in:
kwaroran
2023-06-05 02:24:07 +09:00
parent 1c672a13af
commit b2a7861364

View File

@@ -81,6 +81,7 @@
<button class="bg-darkbg h-14 w-14 min-w-14 rounded-lg ml-2 flex justify-center items-center hover:ring transition-shadow" on:click={() => { <button class="bg-darkbg h-14 w-14 min-w-14 rounded-lg ml-2 flex justify-center items-center hover:ring transition-shadow" on:click={() => {
if(page > 0){ if(page > 0){
page -= 1 page -= 1
getHub()
} }
}}> }}>
<ArrowLeft /> <ArrowLeft />
@@ -90,6 +91,7 @@
</button> </button>
<button class="bg-darkbg h-14 w-14 min-w-14 rounded-lg ml-2 flex justify-center items-center hover:ring transition-shadow" on:click={() => { <button class="bg-darkbg h-14 w-14 min-w-14 rounded-lg ml-2 flex justify-center items-center hover:ring transition-shadow" on:click={() => {
page += 1 page += 1
getHub()
}}> }}>
<ArrowRight /> <ArrowRight />
</button> </button>