From 466c0b0142411f2b16986a28a2db1fdbdeb8f4e3 Mon Sep 17 00:00:00 2001 From: Moody Salem Date: Mon, 26 Apr 2021 10:53:55 -0500 Subject: [PATCH] remove the anonymous credentials from the image (it causes a CORS preflight) --- src/components/Logo/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/Logo/index.tsx b/src/components/Logo/index.tsx index 989d694a98..4de1df3e8b 100644 --- a/src/components/Logo/index.tsx +++ b/src/components/Logo/index.tsx @@ -22,7 +22,6 @@ export default function Logo({ srcs, alt, ...rest }: LogoProps) { {...rest} alt={alt} src={src} - crossOrigin="anonymous" onError={() => { if (src) BAD_SRCS[src] = true refresh((i) => i + 1)