From 03fd546e999a3b4572b0ff1fb1bf6cebc5e7f28e Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Tue, 1 Nov 2022 00:23:59 +0530 Subject: [PATCH] fix: add new url (#5295) --- packages/ui/Kbar.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/ui/Kbar.tsx b/packages/ui/Kbar.tsx index 9312b6ba59..886ec21142 100644 --- a/packages/ui/Kbar.tsx +++ b/packages/ui/Kbar.tsx @@ -151,7 +151,7 @@ export const KBarRoot = ({ children }: { children: React.ReactNode }) => { section: "Security Settings", shortcut: ["t", "f", "a"], keywords: "two factor authentication", - perform: () => router.push("/settings/security"), + perform: () => router.push("/settings/security/two-factor-auth"), }, { id: "impersonation", @@ -159,7 +159,7 @@ export const KBarRoot = ({ children }: { children: React.ReactNode }) => { section: "Security Settings", shortcut: ["u", "i"], keywords: "user impersonation", - perform: () => router.push("/settings/security"), + perform: () => router.push("/settings/security/impersonation"), }, { id: "webhooks", @@ -167,7 +167,7 @@ export const KBarRoot = ({ children }: { children: React.ReactNode }) => { section: "Developer Settings", shortcut: ["w", "h"], keywords: "webhook automation", - perform: () => router.push("/settings/developer"), + perform: () => router.push("/settings/developer/webhooks"), }, { id: "api-keys", @@ -175,7 +175,7 @@ export const KBarRoot = ({ children }: { children: React.ReactNode }) => { section: "Developer Settings", shortcut: ["a", "p", "i"], keywords: "api keys", - perform: () => router.push("/settings/developer"), + perform: () => router.push("/settings/developer/api-keys"), }, { id: "billing",