diff --git a/src/components/left/main/LeftSideMenuItems.tsx b/src/components/left/main/LeftSideMenuItems.tsx index f31ca9b6e..9b911b2b9 100644 --- a/src/components/left/main/LeftSideMenuItems.tsx +++ b/src/components/left/main/LeftSideMenuItems.tsx @@ -94,6 +94,10 @@ const LeftSideMenuItems = ({ const bots = useMemo(() => Object.values(attachBots).filter((bot) => bot.isForSideMenu), [attachBots]); + const handleSelectMyProfile = useLastCallback(() => { + openChatWithInfo({ id: currentUserId, shouldReplaceHistory: true, profileTab: 'stories' }); + }); + const handleSelectSaved = useLastCallback(() => { openChat({ id: currentUserId, shouldReplaceHistory: true }); }); @@ -137,10 +141,6 @@ const LeftSideMenuItems = ({ openUrl({ url: FEEDBACK_URL }); }); - const handleOpenMyStories = useLastCallback(() => { - openChatWithInfo({ id: currentUserId, shouldReplaceHistory: true, profileTab: 'stories' }); - }); - return ( <> {IS_MULTIACCOUNT_SUPPORTED && currentUser && ( @@ -153,6 +153,12 @@ const LeftSideMenuItems = ({ )} + + {oldLang('My Profile')} + )} {oldLang('Contacts')} @@ -186,12 +192,6 @@ const LeftSideMenuItems = ({ onMenuClosed={onBotMenuClosed} /> ))} - - {oldLang('Settings.MyStories')} -