🐛 Fix newVersionAvailable indicator

This commit is contained in:
ajnart
2023-10-25 15:22:21 +02:00
parent ea9c74ea11
commit b9fec7d445

View File

@@ -129,7 +129,7 @@ const CurrentUserAvatar = forwardRef<HTMLDivElement, CurrentUserAvatarProps>(
const { primaryColor } = useMantineTheme(); const { primaryColor } = useMantineTheme();
if (!user) return <Avatar ref={ref} {...others} />; if (!user) return <Avatar ref={ref} {...others} />;
if (!newVersionAvailable) if (newVersionAvailable)
return ( return (
<Indicator withBorder offset={2} color="blue" processing size={15}> <Indicator withBorder offset={2} color="blue" processing size={15}>
<Avatar ref={ref} color={primaryColor} {...others}> <Avatar ref={ref} color={primaryColor} {...others}>