Skip to content

Commit 0e925a4

Browse files
committed
fix: 有自制谱但是没有定数时 500
1 parent 7978685 commit 0e925a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/src/routes/b50/components/B50Song.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Component = ({ entry, score, song }: { entry: RatingListEntry, score: User
4545
<div style={{ flexGrow: 1, backgroundColor: 'rgba(255, 255, 255, 0.8)', display: 'flex', justifyContent: 'left', alignItems: 'center', padding: '0 5px' }}>
4646
<div style={{ flexGrow: 1 }}>
4747
<ScoreDisplay score={entry.achievement} />
48-
{chart && <div>
48+
{chart && chart.internalLevelValue && <div>
4949
{chart.internalLevelValue.toFixed(1)}
5050
<span style={{ margin: '0 .3em' }}></span>
5151
<span style={{ fontWeight: 700 }}>{computeRa(chart.internalLevelValue, entry.achievement)}</span>

0 commit comments

Comments
 (0)