mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
cleanup unneeded div wrapper on lyric lines
This commit is contained in:
parent
df6b6d514d
commit
88be98f703
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import clsx from 'clsx';
|
||||
import isElectron from 'is-electron';
|
||||
import { useCallback, useEffect, useRef } from 'react';
|
||||
import { Fragment, useCallback, useEffect, useRef } from 'react';
|
||||
|
||||
import styles from './synchronized-lyrics.module.css';
|
||||
|
||||
|
|
@ -338,7 +338,7 @@ export const SynchronizedLyrics = ({
|
|||
/>
|
||||
)}
|
||||
{lyrics.map(([time, text], idx) => (
|
||||
<div key={idx}>
|
||||
<Fragment key={idx}>
|
||||
<LyricLine
|
||||
alignment={settings.alignment}
|
||||
className="lyric-line synchronized"
|
||||
|
|
@ -356,7 +356,7 @@ export const SynchronizedLyrics = ({
|
|||
text={translatedLyrics.split('\n')[idx]}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
</Fragment>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue