From 3ea32b596a201b44eb83146511907e9f1553f3ab Mon Sep 17 00:00:00 2001 From: Paul Date: Fri, 9 Jul 2021 14:48:27 +0100 Subject: [PATCH] Fix: use new object for experiment names. --- src/pages/settings/panes/Experiments.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/pages/settings/panes/Experiments.tsx b/src/pages/settings/panes/Experiments.tsx index 3fbfdc48..973fc7ea 100644 --- a/src/pages/settings/panes/Experiments.tsx +++ b/src/pages/settings/panes/Experiments.tsx @@ -6,6 +6,7 @@ import { connectState } from "../../../redux/connector"; import { AVAILABLE_EXPERIMENTS, ExperimentOptions, + EXPERIMENTS, } from "../../../redux/reducers/experiments"; import Checkbox from "../../../components/ui/Checkbox"; @@ -31,12 +32,8 @@ export function Component(props: Props) { key, }) }> - -

- -

+ { EXPERIMENTS[key].title } +

{ EXPERIMENTS[key].description }

))} {AVAILABLE_EXPERIMENTS.length === 0 && (