Skip to content

Commit

Permalink
[components] Fix onBlur error (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Aug 24, 2017
1 parent 56b4bd3 commit 275cc61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/@sanity/components/src/toggles/Switch.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ export default class Switch extends React.Component {
}

static defaultProps = {
onChange() {}
onChange() {},
onBlur() {},
onFocus() {}
}

handleMouseUp = event => {
Expand Down

0 comments on commit 275cc61

Please sign in to comment.