Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit a8dc0bd

Browse files
#111 - Plural form text
1 parent 17faff3 commit a8dc0bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/pages/Search/Global.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ export default function SearchGlobal({ keyword }) {
253253
{usersPerPage * page > totalResults
254254
? totalResults
255255
: usersPerPage * page}{" "}
256-
of {totalResults} profiles
256+
of {totalResults} {totalResults === 1 ? "profile" : "profiles"}
257257
</div>
258258
<div
259259
className={style.sort}

client/src/pages/Search/Groups.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export default function SearchGroups() {
151151
{usersPerPage * page > totalResults
152152
? totalResults
153153
: usersPerPage * page}{" "}
154-
of {totalResults} profiles
154+
of {totalResults} {totalResults === 1 ? "profile" : "profiles"}
155155
</div>
156156
</div>
157157
<div>

0 commit comments

Comments
 (0)