How to fix React Router component not updating as route changes
In https://github.com/Rynebenson/og-website/blob/master/src/_components/wrappers/Account/index.js where you are using the route switch please try to use exact match for "/account" and see if that works.
Use:
<Switch>
<Route exact path={`/account`} component={AccountMessages} />
<Route path={`/account/:id`} component={AccountSwitch} />
</Switch>
All while exporting try this:
export default withRouter(connect(mapStateToProps, mapDispatchToProps)(Account))