Skip to content

Commit

Permalink
fix initial global navigation option on small screen
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgrzybowski committed Sep 29, 2023
1 parent 76ef562 commit f8784a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/sidebar/SidebarNavigationContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function mapSubNavigationOptionToGlobalNavigationOption(SubNavigationOption) {
}

function SidebarNavigationContextProvider({children}) {
const [selectedGlobalNavigationOption, setSelectedGlobalNavigationOption] = useState(CONST.GLOBAL_NAVIGATION_OPTION.SPEND);
const [selectedGlobalNavigationOption, setSelectedGlobalNavigationOption] = useState(CONST.GLOBAL_NAVIGATION_OPTION.CHATS);
const [selectedSubNavigationOption, setSelectedSubNavigationOption] = useState(ROUTES.EXPENSES_OD);

const updateFromNavigationState = useCallback(
Expand Down

0 comments on commit f8784a0

Please sign in to comment.