{\n componentDidMount() {\n this.props.logout();\n }\n\n render() {\n return (\n \n
Logged out successfully!
\n \n \n );\n }\n}\n\nconst mapStateToProps = (storeState: IRootState) => ({});\n\nconst mapDispatchToProps = { logout };\n\ntype StateProps = ReturnType;\ntype DispatchProps = typeof mapDispatchToProps;\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(Logout);\n"]}]}