);
case 'result.comment': {
const comment = getEntryResultComment(entry);
+ const number = getEntryRoundNumber(entry);
return <Trans i18nKey={`protocol.description.${entry.type}`}>
+ {{number}}
<Spoiler>{{comment}}</Spoiler>,
</Trans>;
}
case 'result.report': {
+ const number = getEntryRoundNumber(entry);
const time = getEntryResultTime(entry);
return <Trans i18nKey={`protocol.description.${entry.type}`}>
+ {{number}}
<Spoiler>{{time}}</Spoiler>,
</Trans>;
}
},
);
case 'tournament.close':
+ case 'tournament.discord':
case 'tournament.lock':
case 'tournament.open':
case 'tournament.unlock':
case 'tournament.open':
case 'tournament.unlock':
return <Icon.UNLOCKED />;
+ case 'tournament.discord':
+ return <Icon.DISCORD />;
default:
return <Icon.PROTOCOL />;
}