Skip to content

Commit

Permalink
Merge pull request #33 from opexdev/develop
Browse files Browse the repository at this point in the history
Add Canceled Field to Withdraws
  • Loading branch information
Hossein-ab99 authored Sep 25, 2024
2 parents f96af7a + 36749f8 commit ec0a774
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SimplePagination/SimplePagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const SimplePagination = ({paginate, length}) => {
}

return (
<nav aria-label="Page navigation example">
<nav aria-label="Page navigation">
<ul className="pagination justify-content-center">
<li className={`page-item ${paginate.page === 1 ? "disabled" : ""}`}>
<button className="page-link" onClick={pervPage}>Previous</button>
Expand Down
5 changes: 5 additions & 0 deletions src/pages/Withdraws/Withdraws.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ const Withdraws = () => {
defaultChecked={status === "REJECTED"} id="REJECTED"/>
<label className="form-check-label" htmlFor="REJECTED">Rejected</label>
</div>
<div className="form-check form-check-inline">
<input className="form-check-input primary-bg" type="radio" name="status" value="CANCELED"
defaultChecked={status === "CANCELED"} id="CANCELED"/>
<label className="form-check-label" htmlFor="CANCELED">Canceled</label>
</div>
</div>
<div className="d-flex flex-column justify-content-between align-items-center" style={{width: "100%"}}>
<table className="table table-bordered rounded text-center col-12 striped">
Expand Down

0 comments on commit ec0a774

Please sign in to comment.