From ec07f84d1e9e99cd1a3415b2db9539fadd4973a1 Mon Sep 17 00:00:00 2001 From: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com> Date: Sat, 16 Jul 2022 13:15:44 +0530 Subject: [PATCH] HOTFIX: fixes soft failing on settings/profile routes (#3394) * fixes soft failing on settings/profile routes * Fixed auto changed code * Fixed auto changed code Probably down to some random windows incompatibility with the parser/beautifier at commit time --- apps/web/components/Kbar.tsx | 8 ++++---- packages/app-store/apps.browser.generated.tsx | 2 +- packages/app-store/apps.server.generated.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/web/components/Kbar.tsx b/apps/web/components/Kbar.tsx index 8cfce21b2e..f09f47359a 100644 --- a/apps/web/components/Kbar.tsx +++ b/apps/web/components/Kbar.tsx @@ -106,7 +106,7 @@ export const KBarRoot = ({ children }: { children: React.ReactNode }) => { section: "Profile Settings", shortcut: ["p", "s"], keywords: "setting profile", - perform: () => router.push("/settings"), + perform: () => router.push("/settings/profile"), }, { id: "avatar", @@ -114,7 +114,7 @@ export const KBarRoot = ({ children }: { children: React.ReactNode }) => { section: "Profile Settings", shortcut: ["c", "a"], keywords: "remove change modify avatar", - perform: () => router.push("/settings"), + perform: () => router.push("/settings/profile"), }, { id: "timezone", @@ -122,7 +122,7 @@ export const KBarRoot = ({ children }: { children: React.ReactNode }) => { section: "Profile Settings", shortcut: ["c", "t"], keywords: "change modify timezone", - perform: () => router.push("/settings"), + perform: () => router.push("/settings/profile"), }, { id: "brand-color", @@ -130,7 +130,7 @@ export const KBarRoot = ({ children }: { children: React.ReactNode }) => { section: "Profile Settings", shortcut: ["b", "c"], keywords: "change modify brand color", - perform: () => router.push("/settings"), + perform: () => router.push("/settings/profile"), }, { id: "teams", diff --git a/packages/app-store/apps.browser.generated.tsx b/packages/app-store/apps.browser.generated.tsx index 226b5b5d19..099c8bba86 100644 --- a/packages/app-store/apps.browser.generated.tsx +++ b/packages/app-store/apps.browser.generated.tsx @@ -100,4 +100,4 @@ whereby:whereby_installAppButton, wipemycalother:wipemycalother_installAppButton, zapier:zapier_installAppButton, zoomvideo:zoomvideo_installAppButton, -}; \ No newline at end of file +}; diff --git a/packages/app-store/apps.server.generated.ts b/packages/app-store/apps.server.generated.ts index 6653fa706e..1a266086ed 100644 --- a/packages/app-store/apps.server.generated.ts +++ b/packages/app-store/apps.server.generated.ts @@ -49,4 +49,4 @@ whereby:whereby_api, wipemycalother:wipemycalother_api, zapier:zapier_api, zoomvideo:zoomvideo_api, -}; \ No newline at end of file +};