Skip to content

Commit

Permalink
fix(l10n): Ensure a11y text is displayed on Complete Reset PW page fo…
Browse files Browse the repository at this point in the history
…r service=relay

Because:
* This text is not being rendered as it should be on this page

This commit:
* Passes the missed prop into CompleteResetPassword from the container component, updates the optional type

fixes FXA-11016
  • Loading branch information
LZoog committed Jan 28, 2025
1 parent de6b0bf commit 9955924
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ const CompleteResetPasswordContainer = ({
recoveryKeyExists,
estimatedSyncDeviceCount,
}}
isDesktopServiceRelay={integration.isDesktopRelay()}
integrationIsSync={integration.isSync()}
locationState={location.state as CompleteResetPasswordLocationState}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export interface CompleteResetPasswordProps {
estimatedSyncDeviceCount?: number;
recoveryKeyExists?: boolean;
integrationIsSync: boolean;
isDesktopServiceRelay?: boolean;
isDesktopServiceRelay: boolean;
}

export type AccountResetData = {
Expand Down

0 comments on commit 9955924

Please sign in to comment.