Skip to content

Commit 61101e5

Browse files
committed
Merge branch 'next' of https://github.com/cmgriffing/giffium into next
2 parents dd59f02 + 9eab2ca commit 61101e5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/shiki-magic-move/src/solid/ShikiMagicMoveRenderer.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export function ShikiMagicMoveRenderer(props: ShikiMagicMoveRendererProps) {
7373
<div>
7474
{isMounted()
7575
? undefined
76-
: props.tokens?.tokens.map((token) => {
76+
: props.tokens?.tokens.map(token => {
7777
if (token.content === '\n') return <br />
7878

7979
return (
@@ -82,9 +82,7 @@ export function ShikiMagicMoveRenderer(props: ShikiMagicMoveRendererProps) {
8282
...normalizeCSSProperties(token.htmlStyle),
8383
color: token.color,
8484
}}
85-
class={['shiki-magic-move-item', token.htmlClass]
86-
.filter(Boolean)
87-
.join(' ')}
85+
class={['shiki-magic-move-item', token.htmlClass].filter(Boolean).join(' ')}
8886
>
8987
{token.content}
9088
</span>

0 commit comments

Comments
 (0)