Fixed styling on update notice. Added private mode.

This commit is contained in:
Mike Cao 2024-03-29 11:48:12 -07:00
parent 314bbee717
commit dd88b1d901
6 changed files with 16 additions and 6 deletions

View file

@ -11,7 +11,7 @@ export function ProfileButton() {
const { user } = useLogin();
const router = useRouter();
const { dir } = useLocale();
const cloudMode = Boolean(process.env.cloudMode);
const cloudMode = !!process.env.cloudMode;
const handleSelect = (key: Key, close: () => void) => {
if (key === 'profile') {