From 1693421c49a7db39d37e1af0149cfce92ea76dff Mon Sep 17 00:00:00 2001 From: Chris Brame Date: Mon, 4 Mar 2019 19:42:06 -0500 Subject: [PATCH] fix(components): button display incorrectly when width is set --- src/client/components/Button/index.jsx | 2 +- src/client/sagas/settings/index.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/client/components/Button/index.jsx b/src/client/components/Button/index.jsx index 158d7eba4..01d564a96 100644 --- a/src/client/components/Button/index.jsx +++ b/src/client/components/Button/index.jsx @@ -62,7 +62,7 @@ class Button extends React.Component { disabled={disabled} style={renderStyleOverride} > -
{text}
+
{text}
{hasDropdown && (  diff --git a/src/client/sagas/settings/index.js b/src/client/sagas/settings/index.js index cf94ca833..4b4d4d30e 100644 --- a/src/client/sagas/settings/index.js +++ b/src/client/sagas/settings/index.js @@ -100,8 +100,6 @@ function * checkMongoDBTools ({ payload }) { const response = yield call(api.settings.hasMongoDBTools, payload) yield put({ type: FETCH_MONGODB_TOOLS.SUCCESS, response }) } catch (error) { - const errorText = error.response.data.error - helpers.UI.showSnackbar(`Error: ${errorText}`, true) yield put({ type: FETCH_MONGODB_TOOLS.ERROR, error }) } }