Skip to content

Commit 9f3fa39

Browse files
committed
fix typo
1 parent 8c8d2d7 commit 9f3fa39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/src/ts/pages/friends.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const addFriendModal = new SimpleModal({
9696
const result = await addFriend(receiverName);
9797

9898
if (result === true) {
99-
return { status: 1, message: `Request send to ${receiverName}` };
99+
return { status: 1, message: `Request sent to ${receiverName}` };
100100
}
101101

102102
let status: -1 | 0 | 1 = -1;

frontend/src/ts/pages/profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ $(".page.pageProfile").on("click", ".profile .addFriendButton", async () => {
251251
const result = await addFriend(friendName);
252252

253253
if (result === true) {
254-
Notifications.add(`Request send to ${friendName}`);
254+
Notifications.add(`Request sent to ${friendName}`);
255255
$(".profile .details .addFriendButton").addClass("disabled");
256256
} else {
257257
Notifications.add(result, -1);

0 commit comments

Comments
 (0)