summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/containers/navigation/AppNavbarContainer.js
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-web/opendc-web-ui/src/containers/navigation/AppNavbarContainer.js')
-rw-r--r--opendc-web/opendc-web-ui/src/containers/navigation/AppNavbarContainer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/opendc-web/opendc-web-ui/src/containers/navigation/AppNavbarContainer.js b/opendc-web/opendc-web-ui/src/containers/navigation/AppNavbarContainer.js
index d0d28ccb..47988827 100644
--- a/opendc-web/opendc-web-ui/src/containers/navigation/AppNavbarContainer.js
+++ b/opendc-web/opendc-web-ui/src/containers/navigation/AppNavbarContainer.js
@@ -1,9 +1,9 @@
import React from 'react'
import AppNavbarComponent from '../../components/navigation/AppNavbarComponent'
-import { useProject } from '../../store/hooks/project'
+import { useActiveProject } from '../../store/hooks/project'
const AppNavbarContainer = (props) => {
- const project = useProject()
+ const project = useActiveProject()
return <AppNavbarComponent {...props} project={project} />
}