From 10fdb63de4c3fed877bc041c95b3064649f6344c Mon Sep 17 00:00:00 2001
From: HAUTBOIS Aurelie <aurelie.hautbois@ext.soprasteria.com>
Date: Wed, 13 Jan 2021 11:16:16 +0100
Subject: [PATCH] feat: change switch case render exploration

---
 src/components/Exploration/ExplorationView.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/Exploration/ExplorationView.tsx b/src/components/Exploration/ExplorationView.tsx
index 865a07c49..9613ad4da 100644
--- a/src/components/Exploration/ExplorationView.tsx
+++ b/src/components/Exploration/ExplorationView.tsx
@@ -19,7 +19,7 @@ const ExplorationView: React.FC = () => {
 
   const renderExploration = (challenge: UserChallenge) => {
     switch (challenge.exploration.state) {
-      case UserExplorationState.UNLOCKED:
+      case UserExplorationState.ONGOING:
         return 'ExplorationOngoing'
       case UserExplorationState.DONE:
         return 'ExplorationFinished'
-- 
GitLab