Skip to content

Commit 6cff691

Browse files
committed
fix: Fix Invalid DOM property issue (#193).
1 parent 8a3a368 commit 6cff691

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/commands/code.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ export const code: ICommand = {
1010
<path
1111
d="M16 13 4 25.432 16 37m16-24 12 12.432L32 37"
1212
stroke="currentColor"
13-
stroke-width="5"
14-
stroke-linecap="round"
15-
stroke-linejoin="round"
13+
strokeWidth="5"
14+
strokeLinecap="round"
15+
strokeLinejoin="round"
1616
/>
17-
<path d="m28 4-7 40" stroke="currentColor" stroke-width="5" stroke-linecap="round" />
17+
<path d="m28 4-7 40" stroke="currentColor" strokeWidth="5" strokeLinecap="round" />
1818
</svg>
1919
),
2020
execute: ({ state, view }) => {
@@ -40,16 +40,16 @@ export const codeBlock: ICommand = {
4040
<path
4141
d="M21 6H9a3 3 0 0 0-3 3v22a3 3 0 0 0 3 3h30a3 3 0 0 0 3-3V21M24 34v8"
4242
stroke="currentColor"
43-
stroke-width="5"
44-
stroke-linecap="round"
45-
stroke-linejoin="round"
43+
strokeWidth="5"
44+
strokeLinecap="round"
45+
strokeLinejoin="round"
4646
/>
4747
<path
4848
d="m32 6-4 4 4 4m6-8 4 4-4 4M14 42h20"
4949
stroke="currentColor"
50-
stroke-width="5"
51-
stroke-linecap="round"
52-
stroke-linejoin="round"
50+
strokeWidth="5"
51+
strokeLinecap="round"
52+
strokeLinejoin="round"
5353
/>
5454
</svg>
5555
),

0 commit comments

Comments
 (0)