💡add comment

This commit is contained in:
Fred KISSIE
2025-11-15 07:04:36 +01:00
parent 1d9ed9d219
commit 8e8f992876

View File

@@ -45,6 +45,8 @@ export default function BrandingLogo(props: BrandingLogoProps) {
setPath(props.logoPath ?? getPath());
}, [theme, env, props.logoPath]);
// we use `img` tag here because the `logoPath` could be any URL
// and next.js `Image` component only accepts a restricted number of domains
const Component = props.logoPath ? "img" : Image;
return (