revert(client): place tool panel at the bottom

This reverts commit e6d2a9df93.
This commit is contained in:
Mrugesh Mohapatra
2019-02-17 14:47:10 +05:30
committed by Stuart Taylor
parent 71cf4495cb
commit fbc4db1e9b
5 changed files with 52 additions and 83 deletions

View File

@@ -21,7 +21,6 @@ const mapDispatchToProps = dispatch =>
);
const propTypes = {
className: PropTypes.string,
executeChallenge: PropTypes.func.isRequired,
guideUrl: PropTypes.string,
isMobile: PropTypes.bool,
@@ -32,7 +31,6 @@ const propTypes = {
};
function ToolPanel({
className,
executeChallenge,
isMobile,
openHelpModal,
@@ -43,11 +41,9 @@ function ToolPanel({
}) {
return (
<Fragment>
<div
className={`tool-panel-group ${
<div className={`tool-panel-group ${
isMobile ? 'tool-panel-group-mobile' : ''
} ${className}`}
>
}`}>
<Button block={true} bsStyle='primary' onClick={executeChallenge}>
{isMobile ? 'Run' : 'Run the Tests'}
</Button>
@@ -96,10 +92,7 @@ function ToolPanel({
ToolPanel.displayName = 'ToolPanel';
ToolPanel.propTypes = propTypes;
export default connect(
mapStateToProps,
mapDispatchToProps
)(ToolPanel);
export default connect(mapStateToProps, mapDispatchToProps)(ToolPanel);
/*
<Button