File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 29
29
{#if totalPages > 1 }
30
30
<div class =" flex justify-center items-center space-x-2" >
31
31
<button
32
- class =" px-4 py-2 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 bg-white hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed"
32
+ class =" px-4 py-2 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 bg-white cursor-pointer hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed"
33
33
disabled ={! hasPrevious }
34
34
onclick ={() => handlePageChange (currentPage - 1 )}
35
35
>
43
43
class ="px-4 py-2 border rounded-md shadow-sm text-sm font-medium {pageNum ===
44
44
currentPage
45
45
? ' bg-amber-600 text-white border-amber-600'
46
- : ' border-gray-300 text-gray-700 bg-white hover:bg-gray-50' }"
46
+ : ' border-gray-300 text-gray-700 bg-white hover:bg-gray-50 cursor-pointer ' }"
47
47
onclick ={() => handlePageChange (pageNum )}
48
48
>
49
49
{pageNum }
52
52
</div >
53
53
54
54
<button
55
- class =" px-4 py-2 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 bg-white hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed"
55
+ class =" px-4 py-2 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 bg-white cursor-pointer hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed"
56
56
disabled ={! hasNext }
57
57
onclick ={() => handlePageChange (currentPage + 1 )}
58
58
>
You can’t perform that action at this time.
0 commit comments