WIP: overridden colours and shapes

This commit is contained in:
Lachlan Kermode
2020-05-14 15:02:14 +02:00
parent b23938b1da
commit 3641756539
12 changed files with 101 additions and 80 deletions

View File

@@ -35,7 +35,7 @@ export function fetchDomain () {
.catch(() => handleError(domainMsg('categories')))
let narPromise = Promise.resolve([])
if (process.env.features.USE_CATEGORIES) {
if (process.env.features.USE_NARRATIVES) {
narPromise = fetch(NARRATIVE_URL)
.then(response => response.json())
.catch(() => handleError(domainMsg('narratives')))