import React, {Component} from 'react'; import { Button, } from 'antd'; class Bottomsubmit extends Component { constructor(props) { super(props) this.state = {} } cannelfun = () => { // window.location.href= try { if(this.props.Cohetepaperbool===true){ this.props.setCohetepaperbool(false); }else { this.props.history.replace(this.props.url); } }catch (e) { this.props.history.replace(this.props.url); } } render() { return (
); } } export default Bottomsubmit;