hook results to Output render
This commit is contained in:
parent
2d207c4783
commit
b748c8d104
3 changed files with 3 additions and 3 deletions
|
@ -126,7 +126,7 @@ const PhonoChangeApplier = () => {
|
||||||
<Features phones={state.phones} features={state.features} dispatch={dispatch}/>
|
<Features phones={state.phones} features={state.features} dispatch={dispatch}/>
|
||||||
<Epochs epochs={state.epochs} dispatch={dispatch} />
|
<Epochs epochs={state.epochs} dispatch={dispatch} />
|
||||||
<Options options={state.options} dispatch={dispatch}/>
|
<Options options={state.options} dispatch={dispatch}/>
|
||||||
<Output results={results} setResults={setResults}/>
|
<Output results={state.results} dispatch={dispatch}/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,7 +60,7 @@ export const initState = (changesArgument: number = -1): stateType => {
|
||||||
options: {
|
options: {
|
||||||
output: 'default', save: false
|
output: 'default', save: false
|
||||||
},
|
},
|
||||||
results: {},
|
results: [],
|
||||||
errors: {},
|
errors: {},
|
||||||
features: {},
|
features: {},
|
||||||
lexicon: []
|
lexicon: []
|
||||||
|
|
|
@ -17,7 +17,7 @@ export type stateType = {
|
||||||
epochs: Array<epochType>,
|
epochs: Array<epochType>,
|
||||||
phones: {[key: string]: phoneType},
|
phones: {[key: string]: phoneType},
|
||||||
options: {output: string, save: boolean},
|
options: {output: string, save: boolean},
|
||||||
results: {},
|
results: [],
|
||||||
errors: {},
|
errors: {},
|
||||||
features: featureType
|
features: featureType
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue