fix: setting path

This commit is contained in:
Tristan Yang
2023-03-09 20:37:50 +08:00
parent a6a14b8ca0
commit ae974e1319
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ const SessionContextMenu: FC<Props> = ({
muteChannel(data);
};
const handleDMSetting = () => {
navigateTo(`/setting/dm/${id}?f=${pathname}`);
navigateTo(`/setting/dm/${id}/overview?f=${pathname}`);
};
const items =
+1 -1
View File
@@ -8,7 +8,7 @@ const Menu: FC<Props> = () => {
return (
<ul className="flex flex-col absolute left-0 bottom-0 w-full px-3 py-2">
<li className="cursor-pointer flex items-center p-2.5 gap-2.5 link_navs">
<NavLink className="link" to={`/setting?f=${pathname}`}>
<NavLink className="link" to={`/setting/overview?f=${pathname}`}>
<Tooltip placement="right" tip="Settings">
<img src={settingIcon} alt="setting icon" className="w-6 h-6 max-w-[unset]" />
</Tooltip>