mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
Profle
This commit is contained in:
@@ -212,7 +212,7 @@ const DashboardHeader: FunctionComponent<ComponentProps> = (
|
||||
)}
|
||||
<Help />
|
||||
<UserProfile
|
||||
onClickUserProfle={() => {
|
||||
onClickUserProfile={() => {
|
||||
Navigation.navigate(
|
||||
RouteMap[PageMap.USER_PROFILE_OVERVIEW]!
|
||||
);
|
||||
|
||||
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user