From d5c4202ee4ea4224ea32e8a13ffa7789158e8662 Mon Sep 17 00:00:00 2001 From: Brian Cao Date: Sun, 15 Oct 2023 16:06:41 -0700 Subject: [PATCH] Fixed settings/profile cloudMode. --- src/app/(main)/settings/layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(main)/settings/layout.tsx b/src/app/(main)/settings/layout.tsx index 42e9b62f..f738f883 100644 --- a/src/app/(main)/settings/layout.tsx +++ b/src/app/(main)/settings/layout.tsx @@ -20,7 +20,7 @@ export default function SettingsLayout({ children }) { const getKey = () => items.find(({ url }) => pathname === url)?.key; - if (cloudMode) { + if (cloudMode && pathname != '/settings/profile') { return null; }