15803: INIT->INIT_USER, CONFIG->SET_CONFIG, remove config reducer
[arvados-workbench2.git] / src / views-components / main-app-bar / account-menu.tsx
index 722180534469b1eebcc779b40d491408251ac4d7..346a9ef02ea529db2fa33d4e5664ed7a567ddf40 100644 (file)
@@ -32,7 +32,7 @@ interface AccountMenuProps {
 const mapStateToProps = (state: RootState): AccountMenuProps => ({
     user: state.auth.user,
     currentRoute: state.router.location ? state.router.location.pathname : '',
-    workbenchURL: state.config.workbenchUrl,
+    workbenchURL: state.auth.config.workbenchUrl,
     apiToken: state.auth.apiToken,
     localCluster: state.auth.localCluster
 });