mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-24 11:21:02 +00:00
feat: i18n toast friend code copied
This commit is contained in:
@@ -59,8 +59,8 @@ export const UserFriendModal = ({
|
||||
|
||||
const copyToClipboard = useCallback(() => {
|
||||
navigator.clipboard.writeText(userDetails!.id);
|
||||
showSuccessToast("Código de amigo copiado");
|
||||
}, [userDetails, showSuccessToast]);
|
||||
showSuccessToast(t("friend_code_copied"));
|
||||
}, [userDetails, showSuccessToast, t]);
|
||||
|
||||
return (
|
||||
<Modal visible={visible} title={t("friends")} onClose={onClose}>
|
||||
|
||||
Reference in New Issue
Block a user