Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

bugfix: fix lint about svg attr name (#765)

DiamondThreeaf6381314cd2
diff --git a/packages/app/src/components/logout-modal/icon.tsx b/packages/app/src/components/logout-modal/icon.tsx
index df23248b78..afca63f57f 100644
--- a/packages/app/src/components/logout-modal/icon.tsx
+++ b/packages/app/src/components/logout-modal/icon.tsx
@@ -8,7 +8,7 @@ export const Check = () => {
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
- <g clip-path="url(#clip0_9266_16831)">
+ <g clipPath="url(#clip0_9266_16831)">
<path
fillRule="evenodd"
clipRule="evenodd"
diff --git a/packages/app/src/components/workspace-modal/icons/index.tsx b/packages/app/src/components/workspace-modal/icons/index.tsx
index 773a8383f3..78012bc972 100644
--- a/packages/app/src/components/workspace-modal/icons/index.tsx
+++ b/packages/app/src/components/workspace-modal/icons/index.tsx
@@ -70,7 +70,7 @@ export const CloudIcon = () => {
<path
d="M2.5 11.3744C2.5 13.837 4.51472 15.8333 7 15.8333L13.75 15.8333C15.8211 15.8333 17.5 14.1532 17.5 12.0807C17.5 10.5419 16.5744 9.12069 15.25 8.54163C15.1098 6.10205 13.07 4.16663 10.5744 4.16663C8.62616 4.16663 6.95578 5.40527 6.25 7.08329C4 7.44788 2.5 9.33336 2.5 11.3744Z"
stroke="#60A5FA"
- stroke-width="1.25"
+ strokeWidth="1.25"
strokeLinecap="round"
strokeLinejoin="round"
/>