Skip to content

Commit f54bb73

Browse files
committed
fix: resolve admin scripts lint warnings
1 parent 74a21b0 commit f54bb73

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/app/[locale]/(main)/admin/scripts/components/ScriptsClient.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,17 +347,18 @@ export default function ScriptsClient() {
347347
render: (_: unknown, record: ScriptItem) => {
348348
const active = record.multiplier_expire_at > dayjs().unix();
349349
if (!active || record.score_multiplier === 1) {
350-
return <span style={{ color: '#999' }}></span>;
350+
return <span style={{ color: '#999' }}>{'—'}</span>;
351351
}
352352
return (
353353
<span>
354-
{record.score_multiplier.toFixed(2)} ×{' '}
354+
{record.score_multiplier.toFixed(2)}
355+
{' × '}
355356
<span style={{ color: '#999', fontSize: 12 }}>
356-
(
357+
{'('}
357358
{dayjs
358359
.unix(record.multiplier_expire_at)
359360
.format('YYYY-MM-DD HH:mm')}
360-
)
361+
{')'}
361362
</span>
362363
</span>
363364
);

0 commit comments

Comments
 (0)