SyntaxFix
Write A Post
Hire A Developer
Questions
Simply use
<span onClick={() => this.props.history.goBack()}>Back</span>