- {account?.phone_numbers.map(p =>
-
navigator.clipboard.writeText(p.number)}
- onDelete={() => handleDelete(p.number)}
- />
+ {account?.phone_numbers?.map(phoneNumber =>
+
+ {phoneNumber}
+
+ }
+ variant="outlined"
+ onClick={() => handleCopy(phoneNumber)}
+ onDelete={() => handleDelete(phoneNumber)}
+ />
)}
- handleAdd()}>
+ {!account?.phone_numbers &&
+ {t("account_basics_phone_numbers_no_phone_numbers_yet")}
+ }
+
+