fix: confirm modal (#48388)

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
This commit is contained in:
Oliver Eyton-Williams
2022-11-04 12:06:47 +01:00
committed by GitHub
parent 75f4ff10d5
commit ecfe09c52d
2 changed files with 2 additions and 2 deletions

View File

@@ -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"

View File

@@ -56,7 +56,7 @@ interface NavLinksProps {
showLanguageMenu: (elementToFocus: HTMLButtonElement) => void;
hideLanguageMenu: () => void;
menuButtonRef: React.RefObject<HTMLButtonElement>;
openSignoutModal?: () => void;
openSignoutModal: () => void;
}
const mapDispatchToProps = {