Merged in fix/BOOK-486-hotjar (pull request #3046)

fix(BOOK-486): suppress hotjar firstname lastname and initials

* fix(BOOK-486): suppress hotjar firstname lastname and initials


Approved-by: Joakim Jäderberg
Approved-by: Anton Gunnarsson
This commit is contained in:
Bianca Widstam
2025-10-31 07:26:11 +00:00
parent 0e598e53e8
commit e2aeada23e
5 changed files with 17 additions and 12 deletions

View File

@@ -88,7 +88,7 @@ export function UserMenu({ isMobile = false }: { isMobile?: boolean }) {
/>
{isMobile ? null : (
<Typography variant="Body/Supporting text (caption)/smBold">
<span>
<span data-hj-suppress>
{firstName ?? session.data?.user?.email}
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
{` ${lastName}`}
@@ -162,7 +162,7 @@ function UserMenuContent({
<div>
{isMobile && (
<Typography variant={"Title/Subtitle/md"}>
<h3>
<h3 data-hj-suppress>
{intl.formatMessage(
{
id: "partnerSas.mobileMenu.greeting",