From 0a706969230f93e5819855aa2c4e1cae84c42aa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Bl=C3=A4ttermann?= Date: Tue, 24 Jan 2023 14:35:31 +0100 Subject: [PATCH] Fix wrong HTML element attribute (#12151) Originally introduced in 62b9c9c6d711584cea91244bc765e56e74337fdd Original error: Warning: Invalid DOM property `class`. Did you mean `className`? React doesn't have `class`, it uses `className`. --- website/src/components/embed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/components/embed.js b/website/src/components/embed.js index e275077b0..2b210b5d6 100644 --- a/website/src/components/embed.js +++ b/website/src/components/embed.js @@ -110,7 +110,7 @@ const Image = ({ src, alt, title, href, ...props }) => { const ImageFill = ({ image, ...props }) => { return (