aboutsummaryrefslogtreecommitdiff
path: root/src/components/EventCard/EventCard.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/EventCard/EventCard.tsx')
-rw-r--r--src/components/EventCard/EventCard.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/EventCard/EventCard.tsx b/src/components/EventCard/EventCard.tsx
index 74d8d79..2658fd6 100644
--- a/src/components/EventCard/EventCard.tsx
+++ b/src/components/EventCard/EventCard.tsx
@@ -63,7 +63,7 @@ const EventCard: React.FC<PropTypes> = ({ event, mutate }) => {
Participants ({participants?.length || 0} / 3)
<ul>
{participants?.map(username => (
- <li> {username} </li>
+ <li> {username} {username === user?.username && <b>(you)</b>} </li>
))}
</ul>
</div>