Fixed styling on update notice. Added private mode.
This commit is contained in:
@@ -6,6 +6,10 @@ function getHostName(url: string) {
|
||||
}
|
||||
|
||||
export function Favicon({ domain, ...props }) {
|
||||
if (process.env.privateMode) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const hostName = domain ? getHostName(domain) : null;
|
||||
|
||||
return hostName ? (
|
||||
|
||||
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user