refactor: string url path (#7335)

This commit is contained in:
Vamsi Krishna 2025-07-03 18:07:02 +05:30 committed by GitHub
parent 2f22ca0aea
commit 618fcf934f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 38 additions and 20 deletions

View file

@ -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)}
>