-
-
- {username}
-
+ return (
+
+
+
+
+ {username}
-
- }
- onClick={() => {
- this.props.onCloseDrawerRequest();
- this.props.history.push(routeResolver.getRoute("home"));
- }}
- />
- {loggedInItems}
-
- External Links
- } href={C.homePage} />
- } href={C.faq} />
- } href={C.sourceCode} />
- } href={C.reportIssue} />
-
- );
- }
+
+ }
+ onClick={() => {
+ props.onCloseDrawerRequest();
+ history.push(routeResolver.getRoute("home"));
+ }}
+ />
+ {loggedInItems}
+
+ External Links
+ } href={C.homePage} />
+ } href={C.faq} />
+ } href={C.sourceCode} />
+ } href={C.reportIssue} />
+
+
+ );
}
-
-const mapStateToProps = (state: StoreState, _props: PropsType) => {
- return {
- userInfo: state.cache.userInfo,
- };
-};
-
-export default withTheme(withRouter(connect(
- mapStateToProps
-)(SideMenu)));