We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd59f02 + 9eab2ca commit 61101e5Copy full SHA for 61101e5
packages/shiki-magic-move/src/solid/ShikiMagicMoveRenderer.tsx
@@ -73,7 +73,7 @@ export function ShikiMagicMoveRenderer(props: ShikiMagicMoveRendererProps) {
73
<div>
74
{isMounted()
75
? undefined
76
- : props.tokens?.tokens.map((token) => {
+ : props.tokens?.tokens.map(token => {
77
if (token.content === '\n') return <br />
78
79
return (
@@ -82,9 +82,7 @@ export function ShikiMagicMoveRenderer(props: ShikiMagicMoveRendererProps) {
82
...normalizeCSSProperties(token.htmlStyle),
83
color: token.color,
84
}}
85
- class={['shiki-magic-move-item', token.htmlClass]
86
- .filter(Boolean)
87
- .join(' ')}
+ class={['shiki-magic-move-item', token.htmlClass].filter(Boolean).join(' ')}
88
>
89
{token.content}
90
</span>
0 commit comments