From ae974e13195fc81a1d7f2f9aeb358ea66ceb4e04 Mon Sep 17 00:00:00 2001 From: Tristan Yang Date: Thu, 9 Mar 2023 20:37:50 +0800 Subject: [PATCH] fix: setting path --- src/routes/chat/SessionList/ContextMenu.tsx | 2 +- src/routes/home/Menu.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/chat/SessionList/ContextMenu.tsx b/src/routes/chat/SessionList/ContextMenu.tsx index aee2e508..ee026183 100644 --- a/src/routes/chat/SessionList/ContextMenu.tsx +++ b/src/routes/chat/SessionList/ContextMenu.tsx @@ -70,7 +70,7 @@ const SessionContextMenu: FC = ({ muteChannel(data); }; const handleDMSetting = () => { - navigateTo(`/setting/dm/${id}?f=${pathname}`); + navigateTo(`/setting/dm/${id}/overview?f=${pathname}`); }; const items = diff --git a/src/routes/home/Menu.tsx b/src/routes/home/Menu.tsx index 36cf5d3a..ea9626fb 100644 --- a/src/routes/home/Menu.tsx +++ b/src/routes/home/Menu.tsx @@ -8,7 +8,7 @@ const Menu: FC = () => { return (
  • - + setting icon