Add getPaginationRage to usePagination hook. Use the getPaginationRage to create dynamic buttons in the table.