diff --git a/example.config.js b/example.config.js index 7b6fbe8..8eafa14 100644 --- a/example.config.js +++ b/example.config.js @@ -26,7 +26,7 @@ module.exports = { features: { USE_CATEGORIES: false, CATEGORIES_AS_FILTERS: false, - USE_FILTERS: false, + USE_FILTERS: true, FILTERS_AS_NARRATIVES: false, USE_NARRATIVES: false, USE_SOURCES: true, diff --git a/src/actions/index.js b/src/actions/index.js index d5cd173..8d99aa1 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -28,12 +28,12 @@ export function fetchDomain () { const features = getState().features dispatch(toggleFetchingDomain()) - let configPromise = Promise.resolve([]) - if (features.USE_REMOTE_CONFIG) { - configPromise = fetch(CONFIG_URL) - .then(response => response.json()) - .catch(() => handleError("Couldn't find data at the config URL you specified.")) - } + // let configPromise = Promise.resolve([]) + // if (features.USE_REMOTE_CONFIG) { + // configPromise = fetch(CONFIG_URL) + // .then(response => response.json()) + // .catch(() => handleError("Couldn't find data at the config URL you specified.")) + // } // NB: EVENT_DATA_URL is a list, and so results are aggregated const eventPromise = Promise.all( diff --git a/src/components/Card.jsx b/src/components/Card.jsx index fe0e628..ccc3893 100644 --- a/src/components/Card.jsx +++ b/src/components/Card.jsx @@ -65,7 +65,6 @@ class Card extends React.Component { return
ERROR: something went wrong loading sources, TODO:
} - const sourceLang = copy[this.props.language].cardstack.sources return (
diff --git a/src/components/CardStack.jsx b/src/components/CardStack.jsx index b99d02f..f3bac98 100644 --- a/src/components/CardStack.jsx +++ b/src/components/CardStack.jsx @@ -161,7 +161,7 @@ class CardStack extends React.Component { className={`card-stack narrative-mode ${isCardstack ? '' : ' folded'}` } - style={{height}} + style={{ height }} > {this.renderNarrativeContent()}