diff --git a/src/PhonoChangeApplier.js b/src/PhonoChangeApplier.js index 45a520e..30ee314 100644 --- a/src/PhonoChangeApplier.js +++ b/src/PhonoChangeApplier.js @@ -13,13 +13,18 @@ const PhonoChangeApplier = () => { ); const [ epochs, setEpochs ] = useState([{name: 'epoch 1', changes:['[+ feature]>[- feature]/_#']}]); const [ options, setOptions ] = useState({output: 'default', save: false}) + + const runChanges = e => { + e.preventDefault(); + console.log('running...') + } return (
- +
); } diff --git a/src/components/Options.js b/src/components/Options.js index 445bc1b..a7f5263 100644 --- a/src/components/Options.js +++ b/src/components/Options.js @@ -15,7 +15,8 @@ const Options = props => { return (

Modeling Options

-
{}} data-testid="Options-form"> + + props.runChanges(e)} data-testid="Options-form"> {/*
Output
*/} @@ -53,7 +54,7 @@ const Options = props => { /> - +