feat: add comment

This commit is contained in:
Zamitto 2024-07-16 21:51:42 -03:00
parent e55dc20c7d
commit 004ccd0db5

View file

@ -29,6 +29,7 @@ export const UserFriendModalAddFriend = ({
setIsAddingFriend(true);
sendFriendRequest(friendCode)
.then(() => {
// TODO: add validation for this input?
setFriendCode("");
})
.catch(() => {
@ -51,6 +52,7 @@ export const UserFriendModalAddFriend = ({
const handleClickSeeProfile = () => {
resetAndClose();
// TODO: add validation for this input?
navigate(`/user/${friendCode}`);
};