From 2a8189ca5b278deb050f1c1c4b43f85ccd9e0a1a Mon Sep 17 00:00:00 2001 From: "charly.garcia" Date: Mon, 28 Oct 2024 18:09:46 -0300 Subject: [PATCH 1/2] feat: remove Stupid cancer as valid option in the Referral Options --- apps/eo_web/src/screens/AccountCreation.tsx | 1 - apps/eo_web/src/stores/useProfilingStore.ts | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/eo_web/src/screens/AccountCreation.tsx b/apps/eo_web/src/screens/AccountCreation.tsx index c44555e..5276636 100644 --- a/apps/eo_web/src/screens/AccountCreation.tsx +++ b/apps/eo_web/src/screens/AccountCreation.tsx @@ -24,7 +24,6 @@ export const ReferralOptions: Record = { "Twist Out Cancer": Flows.twist_out_cancer, "Unite for Her": Flows.unite_for_her, "Imerman Angels": Flows.imerman, - "Stupid Cancer": Flows.stupid_cancer, "Cancer Support Community": Flows.cancer_support_community, "UVA Health": Flows.uva, "Inova Schar Cancer Institute": Flows.inova, diff --git a/apps/eo_web/src/stores/useProfilingStore.ts b/apps/eo_web/src/stores/useProfilingStore.ts index 8a91438..e99efc6 100644 --- a/apps/eo_web/src/stores/useProfilingStore.ts +++ b/apps/eo_web/src/stores/useProfilingStore.ts @@ -35,6 +35,7 @@ export const Flows = { imerman: "imerman", unite_for_her: "unite_for_her", mass_retirees: "mass_retirees", + // we don't use stupid cancer more, but we still need to show faqs and how EO works in the surveys for the currents users stupid_cancer: "stupid_cancer", // these are not real flows, because these came from resource_center_1 or resource_center_2 // but we save these values in the same place that flows From a67b3a6378b2cf538451e5585e73960583007a32 Mon Sep 17 00:00:00 2001 From: cgarcia-lightit <117183993+cgarcia-lightit@users.noreply.github.com> Date: Tue, 29 Oct 2024 14:47:38 -0300 Subject: [PATCH 2/2] Update apps/eo_web/src/stores/useProfilingStore.ts Co-authored-by: Gianfranco Rocco <110541583+gianfranco-rocco@users.noreply.github.com> --- apps/eo_web/src/stores/useProfilingStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/eo_web/src/stores/useProfilingStore.ts b/apps/eo_web/src/stores/useProfilingStore.ts index e99efc6..1bcc2f6 100644 --- a/apps/eo_web/src/stores/useProfilingStore.ts +++ b/apps/eo_web/src/stores/useProfilingStore.ts @@ -35,7 +35,7 @@ export const Flows = { imerman: "imerman", unite_for_her: "unite_for_her", mass_retirees: "mass_retirees", - // we don't use stupid cancer more, but we still need to show faqs and how EO works in the surveys for the currents users + // we don't use stupid cancer anymore, but we still need to show faqs and how EO works in the surveys for the current users stupid_cancer: "stupid_cancer", // these are not real flows, because these came from resource_center_1 or resource_center_2 // but we save these values in the same place that flows