Fixed settings/profile cloudMode.

This commit is contained in:
Brian Cao committed 2023-10-15 16:06:41 -07:00
1 parent 0487e48dd2
commit d5c4202ee4
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}