From 7f8381c62787ee481d3a67283f6affebb5001665 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Thu, 8 Aug 2019 17:06:27 -0700 Subject: [PATCH] noop --- components/Carbon.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 = {}