From 3d818ed648bd81820cba6be5dd2945c322d124ba Mon Sep 17 00:00:00 2001 From: Alfred Melch Date: Mon, 22 Jul 2019 08:44:24 +0200 Subject: [PATCH] fix highQuality --- compare-algorithms/src/components/SimplificationControl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compare-algorithms/src/components/SimplificationControl.js b/compare-algorithms/src/components/SimplificationControl.js index 3bd3546..6f71fa3 100644 --- a/compare-algorithms/src/components/SimplificationControl.js +++ b/compare-algorithms/src/components/SimplificationControl.js @@ -6,7 +6,7 @@ import { RangeInput } from './RangeInput.js' import state from '../state.js' -const FieldComponent = ({ field }) => { +const FieldComponent = observer(({ field }) => { switch (field.type) { case 'range': let { name, id } = field @@ -33,7 +33,7 @@ const FieldComponent = ({ field }) => { default: return Error: Field type {field.type} not known. } -} +}) const Options = ({ fields }) => { return (