Skip to content

Commit

Permalink
demo input fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolas committed Oct 10, 2018
1 parent 397ee1d commit e993a9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function (_React$Component) {
min: -Math.PI,
max: Math.PI,
step: 0.01,
defaultValue: 0,
value: this.state.moonPhase,
onChange: this.handleInputChange.bind(this)
}));
}
Expand Down
2 changes: 1 addition & 1 deletion lib/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Main extends React.Component {
min={-Math.PI}
max={Math.PI}
step={0.01}
defaultValue={0}
value={this.state.moonPhase}
onChange={this.handleInputChange.bind(this)} />
</div>
);
Expand Down

0 comments on commit e993a9c

Please sign in to comment.