From ecfe09c52d0012c7b4e8326cb3a7a23c0072b70a Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Fri, 4 Nov 2022 12:06:47 +0100 Subject: [PATCH] fix: confirm modal (#48388) Co-authored-by: Oliver Eyton-Williams Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com> --- client/i18n/locales/english/translations.json | 2 +- client/src/components/Header/components/nav-links.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/i18n/locales/english/translations.json b/client/i18n/locales/english/translations.json index c20c9f69f80..2f5e539431a 100644 --- a/client/i18n/locales/english/translations.json +++ b/client/i18n/locales/english/translations.json @@ -719,7 +719,7 @@ }, "signout": { "heading": "Sign out of your account", - "p1": "Warning: Signing out will stop saving your progress.", + "p1": "Warning: If you continue, your progress will no longer be saved.", "p2": "This action will sign you out of your account on this device and browser session only. Please confirm if you would like to proceed.", "certain": "Yes, sign out of my account", "nevermind": "Nevermind, I don't want to sign out" diff --git a/client/src/components/Header/components/nav-links.tsx b/client/src/components/Header/components/nav-links.tsx index 5ca1b02cf20..2499264872f 100644 --- a/client/src/components/Header/components/nav-links.tsx +++ b/client/src/components/Header/components/nav-links.tsx @@ -56,7 +56,7 @@ interface NavLinksProps { showLanguageMenu: (elementToFocus: HTMLButtonElement) => void; hideLanguageMenu: () => void; menuButtonRef: React.RefObject; - openSignoutModal?: () => void; + openSignoutModal: () => void; } const mapDispatchToProps = {