The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix blurimage
Steven Teycd157c28b310
diff --git a/packages/ui/src/blur-image.tsx b/packages/ui/src/blur-image.tsxindex 92e5b2742b..76eac05559 100644--- a/packages/ui/src/blur-image.tsx+++ b/packages/ui/src/blur-image.tsx@@ -10,7 +10,7 @@ export function BlurImage(props: ImageProps) {const handleLoad = (e: React.SyntheticEvent<HTMLImageElement, Event>) => {setLoading(false);const target = e.target as HTMLImageElement;- if (target.naturalWidth < 20 && target.naturalHeight < 20) {+ if (target.naturalWidth <= 16 && target.naturalHeight <= 16) {setSrc(`https://avatar.vercel.sh/${encodeURIComponent(props.alt)}`);}};