From e364d1fda2943ce5657d6fdde8b29d687f4c3d25 Mon Sep 17 00:00:00 2001
From: tresabhi <43380238+tresabhi@users.noreply.github.com>
Date: Sun, 10 Nov 2024 20:16:42 -0600
Subject: [PATCH] fix: stroke-width
---
packages/bot/src/components/Graph/components/Line/index.tsx | 2 +-
packages/bot/src/components/Graph/components/Root/index.tsx | 2 +-
packages/website/src/components/GunAutoloaderIcon.tsx | 6 +++---
packages/website/src/components/GunAutoreloaderIcon.tsx | 2 +-
packages/website/src/components/GunRegularIcon.tsx | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/packages/bot/src/components/Graph/components/Line/index.tsx b/packages/bot/src/components/Graph/components/Line/index.tsx
index 3894b1a75..ad0beda82 100644
--- a/packages/bot/src/components/Graph/components/Line/index.tsx
+++ b/packages/bot/src/components/Graph/components/Line/index.tsx
@@ -57,7 +57,7 @@ export function Line({
vector-effect="non-scaling-stroke"
fill="none"
stroke={LINE_COLORS[color]}
- stroke-width={lineWidth}
+ strokeWidth={lineWidth}
stroke-dasharray={LINE_STYLES[style]}
points={points}
/>
diff --git a/packages/bot/src/components/Graph/components/Root/index.tsx b/packages/bot/src/components/Graph/components/Root/index.tsx
index 9d13064bb..ad5575000 100644
--- a/packages/bot/src/components/Graph/components/Root/index.tsx
+++ b/packages/bot/src/components/Graph/components/Root/index.tsx
@@ -72,7 +72,7 @@ export function Root({
vector-effect="non-scaling-stroke"
fill="none"
stroke={theme.colors.borderNonInteractive}
- stroke-width="2"
+ strokeWidth="2"
points={`0,${y}, ${GRAPH_WIDTH},${y}`}
/>
);
diff --git a/packages/website/src/components/GunAutoloaderIcon.tsx b/packages/website/src/components/GunAutoloaderIcon.tsx
index ca3b1f25c..9c11a88f4 100644
--- a/packages/website/src/components/GunAutoloaderIcon.tsx
+++ b/packages/website/src/components/GunAutoloaderIcon.tsx
@@ -14,21 +14,21 @@ export function GunAutoloaderIcon(props: ComponentProps<'svg'>) {
d="M22.2 55H11V29.1692C11 17.4923 11.9314 13.634 16.6 9C21.2686 13.634 22.2 17.4923 22.2 29.1692V55Z"
fill="currentColor"
stroke="currentColor"
- stroke-width="2"
+ strokeWidth="2"
strokeLinejoin="round"
/>
diff --git a/packages/website/src/components/GunAutoreloaderIcon.tsx b/packages/website/src/components/GunAutoreloaderIcon.tsx
index d3c25f3de..da0a94175 100644
--- a/packages/website/src/components/GunAutoreloaderIcon.tsx
+++ b/packages/website/src/components/GunAutoreloaderIcon.tsx
@@ -15,7 +15,7 @@ export function GunAutoreloaderIcon(props: ComponentProps<'svg'>) {
d="M38 49H26V28.7846C26 19.6462 26.9979 16.6266 32 13C37.0021 16.6266 38 19.6462 38 28.7846V49Z"
fill="currentColor"
stroke="currentColor"
- stroke-width="2"
+ strokeWidth="2"
strokeLinejoin="round"
/>
) {
d="M38.2 55H25V29.1692C25 17.4923 26.0977 13.634 31.6 9C37.1023 13.634 38.2 17.4923 38.2 29.1692V55Z"
fill="currentColor"
stroke="currentColor"
- stroke-width="2"
+ strokeWidth="2"
strokeLinejoin="round"
/>