Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Commit

Permalink
remove checkbox default
Browse files Browse the repository at this point in the history
Default is unused since value is always set, but default can still cause
error when not a boolean.

update version
  • Loading branch information
Andrew Reed committed Nov 19, 2019
1 parent 0a1a91a commit 9128610
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion web/init/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@replicatedhq/ship-init",
"version": "1.6.12",
"version": "1.6.13",
"description": "Shared component that contains the Ship Init app",
"author": "Replicated, Inc.",
"license": "Apache-2.0",
Expand Down
1 change: 0 additions & 1 deletion web/init/src/components/config_render/ConfigCheckbox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export default class ConfigCheckbox extends React.Component {
ref={(checkbox) => this.checkbox = checkbox}
type="checkbox"
name={this.props.name}
default={this.props.default}
id={this.props.name}
value="1"
checked={checked}
Expand Down

0 comments on commit 9128610

Please sign in to comment.