refactor(ui): standardize button types and migrate file operations to V3 Action API
This commit is contained in:
@@ -178,11 +178,11 @@
|
||||
{/each}
|
||||
</ul>
|
||||
<div class="flex justify-center items-center space-x-4 mt-4">
|
||||
<button class="btn btn-sm" onclick={prev_page} disabled={current_page === 1}
|
||||
<button type="button" class="btn btn-sm" onclick={prev_page} disabled={current_page === 1}
|
||||
>Previous</button
|
||||
>
|
||||
<span>Page {current_page} of {total_pages}</span>
|
||||
<button class="btn btn-sm" onclick={next_page} disabled={current_page === total_pages}
|
||||
<button type="button" class="btn btn-sm" onclick={next_page} disabled={current_page === total_pages}
|
||||
>Next</button
|
||||
>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user