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

@ -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 ? (