mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-10 01:03:36 -05:00
Fix: use new object for experiment names.
This commit is contained in:
parent
c1bf700322
commit
3ea32b596a
1 changed files with 3 additions and 6 deletions
|
@ -6,6 +6,7 @@ import { connectState } from "../../../redux/connector";
|
||||||
import {
|
import {
|
||||||
AVAILABLE_EXPERIMENTS,
|
AVAILABLE_EXPERIMENTS,
|
||||||
ExperimentOptions,
|
ExperimentOptions,
|
||||||
|
EXPERIMENTS,
|
||||||
} from "../../../redux/reducers/experiments";
|
} from "../../../redux/reducers/experiments";
|
||||||
|
|
||||||
import Checkbox from "../../../components/ui/Checkbox";
|
import Checkbox from "../../../components/ui/Checkbox";
|
||||||
|
@ -31,12 +32,8 @@ export function Component(props: Props) {
|
||||||
key,
|
key,
|
||||||
})
|
})
|
||||||
}>
|
}>
|
||||||
<Text id={`app.settings.pages.experiments.titles.${key}`} />
|
{ EXPERIMENTS[key].title }
|
||||||
<p>
|
<p>{ EXPERIMENTS[key].description }</p>
|
||||||
<Text
|
|
||||||
id={`app.settings.pages.experiments.descriptions.${key}`}
|
|
||||||
/>
|
|
||||||
</p>
|
|
||||||
</Checkbox>
|
</Checkbox>
|
||||||
))}
|
))}
|
||||||
{AVAILABLE_EXPERIMENTS.length === 0 && (
|
{AVAILABLE_EXPERIMENTS.length === 0 && (
|
||||||
|
|
Loading…
Reference in a new issue