Ranklist own entry on top checkbox

This commit is contained in:
mrfry 2021-04-19 17:05:44 +02:00
parent 1b3c07fce2
commit 5c430ac5f9
3 changed files with 15 additions and 4 deletions

View file

@ -18,7 +18,7 @@ function ExistingReacts({ existingReacts, onClick, uid }) {
}
return (
<div
title={currReact.join(', ')}
title={`'${key}': ${currReact.join(', ')}`}
className={`${currReact.includes(uid) && styles.reacted}`}
key={key}
onClick={(e) => {