Skip to content

Commit

Permalink
chore: add loading for pay online button
Browse files Browse the repository at this point in the history
  • Loading branch information
rayokamoto committed Feb 19, 2024
1 parent 6792f5b commit f965b4a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/(account)/settings/tabs/MembershipSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@ export default function MembershipSettings({
</p>
<h2 className="mt-8 text-2xl font-bold">Pay Membership Fee</h2>
<div className="mb-6 border-b-2 border-black"></div>
<Button type="submit" colour="orange" onClick={handlePayment}>
<Button
type="submit"
colour="orange"
onClick={handlePayment}
loading={pay.isMutating}
>
Pay Online
</Button>
</>
Expand Down

0 comments on commit f965b4a

Please sign in to comment.