diff --git a/lib/interviewer/containers/Interfaces/OrdinalBin.js b/lib/interviewer/containers/Interfaces/OrdinalBin.js index f18c7f33..6aedd0d4 100644 --- a/lib/interviewer/containers/Interfaces/OrdinalBin.js +++ b/lib/interviewer/containers/Interfaces/OrdinalBin.js @@ -12,31 +12,22 @@ import { getNetworkNodesForType } from '../../selectors/interface'; import { getPromptVariable } from '../../selectors/prop'; /** - * OrdinalBin Interface - */ -const OrdinalBin = ({ - prompt, - nodesForPrompt, - stage, -}) => { - const { - prompts, - } = stage; + * OrdinalBin Interface + */ +const OrdinalBin = ({ prompt, nodesForPrompt, stage }) => { + const { prompts } = stage; return (
- +
@@ -58,14 +49,11 @@ function makeMapStateToProps() { const activePromptVariable = getPromptVariable(state, props); return { - nodesForPrompt: stageNodes.filter( - (node) => isNil(node[entityAttributesProperty][activePromptVariable]), + nodesForPrompt: stageNodes.filter((node) => + isNil(node[entityAttributesProperty][activePromptVariable]), ), }; }; } -export default compose( - withPrompt, - connect(makeMapStateToProps), -)(OrdinalBin); +export default compose(withPrompt, connect(makeMapStateToProps))(OrdinalBin);