From b748c8d1045abf0d5ce42d5481146dcc672290b7 Mon Sep 17 00:00:00 2001 From: Sorrel Bri Date: Fri, 20 Dec 2019 14:03:40 -0800 Subject: [PATCH] hook results to Output render --- src/PhonoChangeApplier.js | 2 +- src/reducers/stateReducer.init.js | 2 +- src/reducers/stateReducer.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PhonoChangeApplier.js b/src/PhonoChangeApplier.js index bd933ed..2e2726d 100644 --- a/src/PhonoChangeApplier.js +++ b/src/PhonoChangeApplier.js @@ -126,7 +126,7 @@ const PhonoChangeApplier = () => { - + ); } diff --git a/src/reducers/stateReducer.init.js b/src/reducers/stateReducer.init.js index 9e6eaef..3006ca0 100644 --- a/src/reducers/stateReducer.init.js +++ b/src/reducers/stateReducer.init.js @@ -60,7 +60,7 @@ export const initState = (changesArgument: number = -1): stateType => { options: { output: 'default', save: false }, - results: {}, + results: [], errors: {}, features: {}, lexicon: [] diff --git a/src/reducers/stateReducer.js b/src/reducers/stateReducer.js index 0b110b5..9be6d28 100644 --- a/src/reducers/stateReducer.js +++ b/src/reducers/stateReducer.js @@ -17,7 +17,7 @@ export type stateType = { epochs: Array, phones: {[key: string]: phoneType}, options: {output: string, save: boolean}, - results: {}, + results: [], errors: {}, features: featureType }