The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
omit height and width from BlurImage
Karan Handa6807d292cb5b
diff --git a/apps/web/ui/layout/project-select.tsx b/apps/web/ui/layout/project-select.tsxindex 2609635f94..a55848f908 100644--- a/apps/web/ui/layout/project-select.tsx+++ b/apps/web/ui/layout/project-select.tsx@@ -156,8 +156,6 @@ function ProjectList({logo ||`${GOOGLE_FAVICON_URL}${primaryDomain?.slug || SHORT_DOMAIN}`}- width={40}- height={40}alt={id}className="h-7 w-7 overflow-hidden rounded-full"/>diff --git a/apps/web/ui/shared/blur-image.tsx b/apps/web/ui/shared/blur-image.tsxindex e9e8d995aa..e2d9f9662d 100644--- a/apps/web/ui/shared/blur-image.tsx+++ b/apps/web/ui/shared/blur-image.tsx@@ -4,7 +4,7 @@ import { cn } from "@dub/utils";import Image, { ImageProps } from "next/image";import { useEffect, useState } from "react";-export function BlurImage(props: ImageProps) {+export function BlurImage(props: Omit<ImageProps, "width" | "height">) {const [loading, setLoading] = useState(true);const [src, setSrc] = useState(props.src);useEffect(() => setSrc(props.src), [props.src]); // update the `src` value when the `prop.src` value changes