Skip to content

Commit 8179aaa

Browse files
committed
MP-190 correct mapping to uniNvi props
1 parent e38dce7 commit 8179aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apps/profiles/src/lib/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function numberToFixed(value: number | string, digits: number = 2): strin
1717
export function notifyUniNavi(profile: UserProfile): void {
1818
if (window?.tcUniNav) {
1919
window.tcUniNav('update', '*', {
20-
user: profile,
20+
user: { ...profile, photoUrl: profile.photoURL },
2121
})
2222
}
2323
}

0 commit comments

Comments
 (0)