Skip to content

Commit

Permalink
Prettier format
Browse files Browse the repository at this point in the history
  • Loading branch information
HnKnA committed Nov 13, 2024
1 parent 67436eb commit fe99d2e
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions backoffice/pages/location/countries/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const CountryList: NextPage = () => {
const value = parseInt((e.target as HTMLSelectElement).value, 10);
setItemsPerPage(value);
setPageNo(0);
};
};

const handleGoToPageChange = (e: React.ChangeEvent<HTMLInputElement>) => {
setGoToPage(e.target.value);
Expand Down Expand Up @@ -147,7 +147,7 @@ const CountryList: NextPage = () => {
activeClassName={'pagination-active'}
/>
<div className="pagination-helper mt-3">
<div className='pagination-tool me-5'>
<div className="pagination-tool me-5">
<p>To page</p>
<Form.Control
type="number"
Expand All @@ -163,13 +163,9 @@ const CountryList: NextPage = () => {
Go
</Button>
</div>
<div className='pagination-tool'>
<div className="pagination-tool">
<p>Show</p>
<Form.Control
as="select"
value={itemsPerPage}
onChange={handleItemsPerPageChange}
>
<Form.Control as="select" value={itemsPerPage} onChange={handleItemsPerPageChange}>
<option value="5">5</option>
<option value="10">10</option>
<option value="15">15</option>
Expand Down

0 comments on commit fe99d2e

Please sign in to comment.