typo update

This commit is contained in:
srinivaspendem 2023-08-11 16:02:05 +05:30
parent c002a592d1
commit b1460d44e8

View File

@ -30,11 +30,11 @@ const SettingsNavbar: React.FC<Props> = ({ profilePage = false }) => {
href: `/${workspaceSlug}/settings/integrations`, href: `/${workspaceSlug}/settings/integrations`,
}, },
{ {
label: "Import", label: "Imports",
href: `/${workspaceSlug}/settings/import`, href: `/${workspaceSlug}/settings/import`,
}, },
{ {
label: "Export", label: "Exports",
href: `/${workspaceSlug}/settings/export`, href: `/${workspaceSlug}/settings/export`,
}, },
]; ];
@ -107,7 +107,7 @@ const SettingsNavbar: React.FC<Props> = ({ profilePage = false }) => {
<div <div
className={`rounded-full border px-5 py-1.5 text-sm outline-none ${ className={`rounded-full border px-5 py-1.5 text-sm outline-none ${
( (
link.label === "Import/Export" link.label === "Import"
? router.asPath.includes(link.href) ? router.asPath.includes(link.href)
: router.asPath === link.href : router.asPath === link.href
) )