We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74a21b0 commit f54bb73Copy full SHA for f54bb73
1 file changed
src/app/[locale]/(main)/admin/scripts/components/ScriptsClient.tsx
@@ -347,17 +347,18 @@ export default function ScriptsClient() {
347
render: (_: unknown, record: ScriptItem) => {
348
const active = record.multiplier_expire_at > dayjs().unix();
349
if (!active || record.score_multiplier === 1) {
350
- return <span style={{ color: '#999' }}>—</span>;
+ return <span style={{ color: '#999' }}>{'—'}</span>;
351
}
352
return (
353
<span>
354
- {record.score_multiplier.toFixed(2)} ×{' '}
+ {record.score_multiplier.toFixed(2)}
355
+ {' × '}
356
<span style={{ color: '#999', fontSize: 12 }}>
- (
357
+ {'('}
358
{dayjs
359
.unix(record.multiplier_expire_at)
360
.format('YYYY-MM-DD HH:mm')}
- )
361
+ {')'}
362
</span>
363
364
);
0 commit comments