mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-13 03:32:13 +00:00
feat: add comment
This commit is contained in:
parent
e55dc20c7d
commit
004ccd0db5
1 changed files with 2 additions and 0 deletions
|
@ -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}`);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue