fix(pagination): handle `currentPage` number as string