Save point, Sidebar prevents navigation without first saving or cancelling current changes

This commit is contained in:
Daniel S. Hansen
2025-07-31 12:23:45 -07:00
parent 90704879e1
commit 364ce0b752
4 changed files with 51 additions and 18 deletions
@@ -8,7 +8,7 @@ const user = {
// avatar: "src\\assets\\user_profile.svg"
}
export default function Header({ view, setView }) {
export default function Header({ view, setView, onChangeView }) {
const recipe = useRecipe({ key: "header" });
const styles = recipe();
@@ -25,6 +25,7 @@ export default function Header({ view, setView }) {
avatar={user.avatar}
view={ view }
setView={ setView }
onChangeView={ onChangeView }
/>
</Flex>
</chakra.div>