import React from 'react'; import PropTypes from 'prop-types'; import {connect} from 'react-redux'; import {appConfig} from 'appConfig'; import * as actions from '../../../actions'; import '../style.scss'; import {gettext, getDateTimeString} from '../../../utils'; import {Row} from '../../UI/Preview'; export class UnspikePlanningComponent extends React.Component { constructor(props) { super(props); // Initialise with enable save so that the user can action on this plan. props.enableSaveInModal(); } submit() { return this.props.onSubmit(this.props.original); } render() { const {original} = this.props; return (