Skip to content

Commit 17f6d69

Browse files
committed
Use only text button for kill op
1 parent 2ba24e3 commit 17f6d69

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/compass-serverstats/src/components/detailview-component.jsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const React = require('react');
22
const Actions = require('../actions');
3-
const { IconTextButton } = require('hadron-react-buttons');
3+
const { TextButton } = require('hadron-react-buttons');
44

55
// const debug = require('debug')('mongodb-compass:server-stats:detailview-component');
66

@@ -101,11 +101,10 @@ class DetailViewComponent extends React.Component {
101101
</li>
102102
<li className="rt-details__item">
103103
<div className="rt-details__datatype">
104-
<IconTextButton
104+
<TextButton
105105
text="Kill Op"
106106
clickHandler={this.killOp.bind(this)}
107-
className="btn btn-alert btn-xs"
108-
iconClassName="fa fa-exclamation-circle" />
107+
className="btn btn-alert btn-xs" />
109108
</div>
110109
</li>
111110
</ul>

0 commit comments

Comments
 (0)