Fixed settings/profile cloudMode.

This commit is contained in:
Brian Cao 2023-10-15 16:06:41 -07:00
parent 0487e48dd2
commit d5c4202ee4

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;
}