Skip to content

Commit c20519d

Browse files
committed
CCM-10893 typecheck
1 parent b53ae81 commit c20519d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontend/src/components/molecules/Header/Header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function NHSNotifyHeader({ dataTestId }: HeaderType) {
2222
<Link
2323
className='nhsuk-header__link nhsuk-header__link--service'
2424
href='/create-and-submit-templates'
25-
aria-label={content.components.header.links.logoLink.ariaLabel}
25+
aria-label={content.components.header.logoLink.ariaLabel}
2626
>
2727
<svg
2828
className='nhsuk-logo'
@@ -34,7 +34,7 @@ export function NHSNotifyHeader({ dataTestId }: HeaderType) {
3434
data-testid='page-header-logo'
3535
>
3636
<title>
37-
{content.components.header.links.logoLink.logoTitle}
37+
{content.components.header.logoLink.logoTitle}
3838
</title>
3939
<path
4040
className='nhsuk-logo__background'

frontend/src/components/molecules/LogoutWarningModal/LogoutWarningModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const LogoutWarningModal = ({
2323
promptBeforeLogoutSeconds: number;
2424
logoutInSeconds: number;
2525
}) => {
26-
const { signOut } = content.components.header.links;
26+
const { signOut } = content.components.header.accountInfo.links;
2727
const { logoutWarning } = content.components;
2828

2929
const initialTime = formatTime(promptBeforeLogoutSeconds);

0 commit comments

Comments
 (0)