This commit is contained in:
Carl Downing
2023-07-30 15:09:28 -07:00
parent ee2faa3cfc
commit 94d4e9e5b3
2 changed files with 3 additions and 3 deletions

View File

@@ -212,7 +212,7 @@ const DashboardHeader: FunctionComponent<ComponentProps> = (
)}
<Help />
<UserProfile
onClickUserProfle={() => {
onClickUserProfile={() => {
Navigation.navigate(
RouteMap[PageMap.USER_PROFILE_OVERVIEW]!
);

View File

@@ -9,7 +9,7 @@ import IconDropdownItem from 'CommonUI/src/Components/Header/IconDropdown/IconDr
import IconDropdownMenu from 'CommonUI/src/Components/Header/IconDropdown/IconDropdownMenu';
export interface ComponentProps {
onClickUserProfle: () => void;
onClickUserProfile: () => void;
}
const DashboardUserProfile: FunctionComponent<ComponentProps> = (
@@ -32,7 +32,7 @@ const DashboardUserProfile: FunctionComponent<ComponentProps> = (
title="Profile"
onClick={() => {
setIsDropdownVisible(false);
props.onClickUserProfle();
props.onClickUserProfile();
}}
icon={IconProp.User}
/>