fix: setting path
This commit is contained in:
@@ -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 =
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user