Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lovegaoshi committed Jul 25, 2024
1 parent ad05296 commit 0c2afb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/styles/steriaGarb.json
Original file line number Diff line number Diff line change
Expand Up @@ -2569,4 +2569,4 @@
"backdrop": "rgba(49, 49, 37, 0.4)"
}
}
]
]
4 changes: 2 additions & 2 deletions src/hooks/useLyric.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export default (currentSong?: NoxMedia.Song) => {
const resolvedLrc = resolvedLrcOptions[index];
const lyric = resolvedLyric
? await searchLyric(resolvedLyric.lyricKey, resolvedLyric.source)
: resolvedLrc.lrc ??
(await searchLyric(resolvedLrc.songMid, resolvedLrc.source));
: (resolvedLrc.lrc ??
(await searchLyric(resolvedLrc.songMid, resolvedLrc.source)));
setLrc(lyric);
setLrcOption(resolvedLrc);
updateLyricMapping({
Expand Down

0 comments on commit 0c2afb9

Please sign in to comment.