From 88ebd3233568c65c619548adbe3de419a089081e Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Fri, 15 Aug 2025 18:25:38 +0200 Subject: [PATCH] =?UTF-8?q?Main=20Menu:=20My=20Stories=20=E2=86=92=20My=20?= =?UTF-8?q?Profile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../left/main/LeftSideMenuItems.tsx | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) 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')} -