Skip to content

Commit

Permalink
error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-justin committed Jan 5, 2024
1 parent a75b0c5 commit 54fb3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Admin/Charity/Banking/PayoutMethod/Loaded.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function Loaded(props: BankingApplicationDetails) {
const { showModal } = useModalContext();

async function setDefault() {
if (!isApproved) return alert("This payout method is still under review");
if (!isApproved) return alert("This payout method is not approved");
if (isDefault) return alert("This payout method is already default");

await update({ type: "prioritize", uuid: props.id.toString() });
Expand Down

0 comments on commit 54fb3d6

Please sign in to comment.