Skip to content

Commit

Permalink
keep send 50% btn on left of approve
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Mar 5, 2024
1 parent 9c2b5ae commit 1a0e12c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/nextjs/app/admin/_components/GrantReview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,6 @@ export const GrantReview = ({ grant }: { grant: GrantDataWithBuilder }) => {
Reject
</button>
<div className="flex gap-4">
<button
className={`btn btn-sm btn-success ${isLoading ? "opacity-50" : ""}`}
onClick={() => {
if (modalRef.current) modalRef.current.showModal();
}}
disabled={isLoading}
>
{acceptLabel}
</button>
<button
className={`btn btn-sm btn-neutral ${isLoading ? "opacity-50" : ""}`}
onClick={async () => {
Expand All @@ -98,6 +89,15 @@ export const GrantReview = ({ grant }: { grant: GrantDataWithBuilder }) => {
>
Send 50%
</button>
<button
className={`btn btn-sm btn-success ${isLoading ? "opacity-50" : ""}`}
onClick={() => {
if (modalRef.current) modalRef.current.showModal();
}}
disabled={isLoading}
>
{acceptLabel}
</button>
</div>
</div>
<ActionModal ref={modalRef} grant={grant} initialTxLink={txnHash?.hash} />
Expand Down

0 comments on commit 1a0e12c

Please sign in to comment.