From d971f531868b0c1dca18816057e16c06a6b9b470 Mon Sep 17 00:00:00 2001 From: Ricco Xie Date: Thu, 18 Jan 2024 20:40:54 +0800 Subject: [PATCH] fix: gh-107 rename stroke-width to strokeWidth. --- src/components/Document/searchForm.tsx | 2 +- src/pages/key/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Document/searchForm.tsx b/src/components/Document/searchForm.tsx index 3cb2f0a..3916624 100644 --- a/src/components/Document/searchForm.tsx +++ b/src/components/Document/searchForm.tsx @@ -42,7 +42,7 @@ export const SearchForm = ({ width={18} height={18} viewBox="0 0 24 24" - stroke-width={2} + strokeWidth={2} stroke="currentColor" fill="none" strokeLinecap="round" diff --git a/src/pages/key/index.tsx b/src/pages/key/index.tsx index 63c8292..6c39e8b 100644 --- a/src/pages/key/index.tsx +++ b/src/pages/key/index.tsx @@ -378,7 +378,7 @@ function Keys() { width={24} height={24} viewBox="0 0 24 24" - stroke-width={2} + strokeWidth={2} stroke="currentColor" fill="none" strokeLinecap="round"