diff --git a/components/Carbon.js b/components/Carbon.js index d431e9f..b1af4f9 100644 --- a/components/Carbon.js +++ b/components/Carbon.js @@ -29,9 +29,11 @@ function searchLanguage(l) { return LANGUAGE_NAME_HASH[l] || LANGUAGE_MODE_HASH[l] || LANGUAGE_MIME_HASH[l] } +function noop() {} class Carbon extends React.PureComponent { static defaultProps = { - onChange: () => {} + onChange: noop, + onGutterClick: noop } state = {}