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}/>
|
||||
<Epochs epochs={state.epochs} dispatch={dispatch} />
|
||||
<Options options={state.options} dispatch={dispatch}/>
|
||||
<Output results={results} setResults={setResults}/>
|
||||
<Output results={state.results} dispatch={dispatch}/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ export const initState = (changesArgument: number = -1): stateType => {
|
|||
options: {
|
||||
output: 'default', save: false
|
||||
},
|
||||
results: {},
|
||||
results: [],
|
||||
errors: {},
|
||||
features: {},
|
||||
lexicon: []
|
||||
|
|
|
@ -17,7 +17,7 @@ export type stateType = {
|
|||
epochs: Array<epochType>,
|
||||
phones: {[key: string]: phoneType},
|
||||
options: {output: string, save: boolean},
|
||||
results: {},
|
||||
results: [],
|
||||
errors: {},
|
||||
features: featureType
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue