import React from 'react';
import { translate } from '../../../common/i18n';

const RunButton = () => (
    <div className="summary-toolbox">
        <button title="Run the bot" id="summaryRunButton" className="toolbox-button icon-run" />
        <button
            title={translate('Stop the bot')}
            id="summaryStopButton"
            className="toolbox-button icon-stop"
            style={{ display: 'none' }}
        />
    </div>
);

export default RunButton;

import React from 'react';
import { translate } from '../../../common/i18n';

const RunButton = () => (
    <React.Fragment>
        <button title="Run the bot" id="summaryRunButton" className="toolbox-button icon-run" />
        <button
            title={translate('Stop the bot')}
            id="summaryStopButton"
            className="toolbox-button icon-stop"
            style={{ display: 'none' }}
        />
    </React.Fragment>
);

export default RunButton;

Move summary-toolbox to TradeInfoPanel, use React.Fragment as containing elem
Move summary-toolbox to TradeInfoPanel, use React.Fragment as containing elem
