Skip to content

Commit 9955924

Browse files
committed
fix(l10n): Ensure a11y text is displayed on Complete Reset PW page for 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
1 parent de6b0bf commit 9955924

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/container.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ const CompleteResetPasswordContainer = ({
363363
recoveryKeyExists,
364364
estimatedSyncDeviceCount,
365365
}}
366+
isDesktopServiceRelay={integration.isDesktopRelay()}
366367
integrationIsSync={integration.isSync()}
367368
locationState={location.state as CompleteResetPasswordLocationState}
368369
/>

packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/interfaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export interface CompleteResetPasswordProps {
4444
estimatedSyncDeviceCount?: number;
4545
recoveryKeyExists?: boolean;
4646
integrationIsSync: boolean;
47-
isDesktopServiceRelay?: boolean;
47+
isDesktopServiceRelay: boolean;
4848
}
4949

5050
export type AccountResetData = {

0 commit comments

Comments
 (0)