refactor: string url path (#7335)
This commit is contained in:
parent
2f22ca0aea
commit
618fcf934f
2 changed files with 38 additions and 20 deletions
|
|
@ -73,7 +73,7 @@ const SettingsSidebarNavItem = observer((props: TSettingsSidebarNavItemProps) =>
|
|||
<div className={buttonClass}>{titleElement}</div>
|
||||
) : (
|
||||
<Link
|
||||
href={joinUrlPath("/", workspaceSlug, setting.href)}
|
||||
href={joinUrlPath(workspaceSlug, setting.href)}
|
||||
className={buttonClass}
|
||||
onClick={() => toggleSidebar(true)}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue