Use display name instead of 'me' text.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
This commit is contained in:
fenn-cs 2023-12-13 12:20:14 +01:00
parent 842a3d704d
commit fcef6b10db

View File

@ -112,7 +112,7 @@ export async function getContacts({ searchTerm }) {
let authenticatedUser = getCurrentUser()
authenticatedUser = {
id: authenticatedUser.uid,
fullName: 'Me',
fullName: authenticatedUser.displayName,
emailAddresses: [],
}
contacts.unshift(authenticatedUser)