fix: regretion where google images aren't loaded due to bad referrer policy

This commit is contained in:
Sonny
2024-11-03 18:39:08 +01:00
committed by Sonny
parent c7c70b1767
commit cc1e7b91c0

View File

@@ -21,7 +21,11 @@ const UserButton = forwardRef<HTMLButtonElement, UserButtonProps>(
{...others} {...others}
> >
<Group> <Group>
<Avatar src={image} radius="xl" /> <Avatar
src={image}
radius="xl"
imageProps={{ referrerPolicy: 'no-referrer' }}
/>
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<Text size="sm" fw={500}> <Text size="sm" fw={500}>