Skip to content

Commit

Permalink
Update possible recipients
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz committed Jan 2, 2025
1 parent 7106a58 commit 4f96f9c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/donation/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ export enum DonationRecipient {
GivEffektivt = "Giv Effektivt",

GivEffektivtsAnbefaling = "Giv Effektivts anbefaling",
StorOgVelkendtEffekt = "Stor og velkendt effekt",
MyggenetModMalaria = "Myggenet mod malaria",
MedicinModMalaria = "Medicin mod malaria",
VitaminModMangelsygdomme = "Vitamin mod mangelsygdomme",
VaccinerTilSpædbørn = "Vacciner til spædbørn",
KontanterOverførslerTilVerdensFattigste = "Kontanter overførsler til verdens fattigste",
}

export enum DonationFrequency {
Expand Down
1 change: 0 additions & 1 deletion src/helpers/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export * from "./payment";
export * from "./rollbar";
export * from "./submitForm";
export * from "./texts";
export * from "./newsletter";
export * from "./validationSchemaDonation";
export * from "./validationSchemaFundraiser";
Expand Down
23 changes: 0 additions & 23 deletions src/helpers/texts.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/helpers/validationSchemaDonation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ export const validationSchemaDonation = {
DonationRecipient.GivEffektivtsAnbefaling,
DonationRecipient.MedicinModMalaria,
DonationRecipient.MyggenetModMalaria,
DonationRecipient.StorOgVelkendtEffekt,
DonationRecipient.VaccinerTilSpædbørn,
DonationRecipient.VitaminModMangelsygdomme,
DonationRecipient.KontanterOverførslerTilVerdensFattigste,
]),
frequency: yup
.string()
Expand Down

0 comments on commit 4f96f9c

Please sign in to comment.