From 075903d4dd794eacf6b5517e689d28c0c4a4e8e4 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Fri, 3 Jun 2022 15:54:52 -0300
Subject: remove cost

---
 packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.tsx | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.tsx')

diff --git a/packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.tsx b/packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.tsx
index 84d2588e0..fdd2c0b36 100644
--- a/packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.tsx
+++ b/packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.tsx
@@ -66,14 +66,12 @@ export function ChallengeOverviewScreen(): VNode {
     [uuid: string]: {
       type: string;
       instructions: string;
-      cost: string;
       feedback: ChallengeFeedback | undefined;
     };
   } = {};
   for (const ch of knownChallengesArray) {
     knownChallengesMap[ch.uuid] = {
       type: ch.type,
-      cost: ch.cost,
       instructions: ch.instructions,
       feedback: challengeFeedback[ch.uuid],
     };
@@ -123,7 +121,6 @@ export function ChallengeOverviewScreen(): VNode {
       )}
       {policiesWithInfo.map((policy, policy_index) => {
         const tableBody = policy.challenges.map(({ info, uuid }) => {
-          const isFree = !info.cost || info.cost.endsWith(":0");
           const method = authMethods[info.type as KnownAuthMethods];
 
           if (!method) {
-- 
cgit v1.2.3

