From f111d6e24fbae91739365fdebdc093c422b9d907 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Sun, 18 Sep 2022 15:55:39 -0500 Subject: [PATCH] Fix console errors from svg non-camelcase attributes --- web/lib/icons/bold-icon.tsx | 6 +++--- web/lib/icons/italic-icon.tsx | 6 +++--- web/lib/icons/link-icon.tsx | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/web/lib/icons/bold-icon.tsx b/web/lib/icons/bold-icon.tsx index f4fec497..eb7c68e2 100644 --- a/web/lib/icons/bold-icon.tsx +++ b/web/lib/icons/bold-icon.tsx @@ -8,9 +8,9 @@ export default function BoldIcon(props: React.SVGProps) { viewBox="0 0 24 24" fill="none" stroke="currentColor" - stroke-width="2" - stroke-linecap="round" - stroke-linejoin="round" + strokeWidth="2" + strokeLinecap="round" + strokeLinejoin="round" {...props} > diff --git a/web/lib/icons/italic-icon.tsx b/web/lib/icons/italic-icon.tsx index d412ed77..f0fb5883 100644 --- a/web/lib/icons/italic-icon.tsx +++ b/web/lib/icons/italic-icon.tsx @@ -8,9 +8,9 @@ export default function ItalicIcon(props: React.SVGProps) { viewBox="0 0 24 24" fill="none" stroke="currentColor" - stroke-width="2" - stroke-linecap="round" - stroke-linejoin="round" + strokeWidth="2" + strokeLinecap="round" + strokeLinejoin="round" {...props} > diff --git a/web/lib/icons/link-icon.tsx b/web/lib/icons/link-icon.tsx index 6323344c..eb96e737 100644 --- a/web/lib/icons/link-icon.tsx +++ b/web/lib/icons/link-icon.tsx @@ -8,9 +8,9 @@ export default function LinkIcon(props: React.SVGProps) { viewBox="0 0 24 24" fill="none" stroke="currentColor" - stroke-width="2" - stroke-linecap="round" - stroke-linejoin="round" + strokeWidth="2" + strokeLinecap="round" + strokeLinejoin="round" {...props} >