forked from phc/tutorato
fix: pluralization
This commit is contained in:
@@ -25,7 +25,7 @@ function upperFirst(string) {
|
||||
{
|
||||
tutorEntries && (
|
||||
<div class="tutor-entries">
|
||||
<h2>I Tutor</h2>
|
||||
<h2>{tutorEntries.length === 1 ? 'Il' : 'I'} Tutor</h2>
|
||||
{tutorEntries.map(({ name, image, contacts }) => (
|
||||
<div class="tutor">
|
||||
<h3 class="name">{name ?? '???'}</h3>
|
||||
|
||||
Reference in New Issue
Block a user