From 338e14a95a8d1d0d4afd87283307e7874b720816 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Thu, 2 Feb 2023 05:10:31 +0530 Subject: Fix duplicated i18n key with differing value --- src/components/auth/Locked.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/components/auth/Locked.tsx') diff --git a/src/components/auth/Locked.tsx b/src/components/auth/Locked.tsx index 00ff5a4c5..34d010782 100644 --- a/src/components/auth/Locked.tsx +++ b/src/components/auth/Locked.tsx @@ -18,10 +18,6 @@ const messages = defineMessages({ id: 'locked.touchId', defaultMessage: 'Unlock with Touch ID', }, - touchIdPrompt: { - id: 'locked.touchIdPrompt', - defaultMessage: 'Unlock with Touch ID', - }, passwordLabel: { id: 'locked.password.label', defaultMessage: 'Password', @@ -80,7 +76,7 @@ class Locked extends Component { const { intl } = this.props; systemPreferences - .promptTouchID(intl.formatMessage(messages.touchIdPrompt)) + .promptTouchID(intl.formatMessage(messages.touchId)) .then(() => { this.props.unlock(); }); -- cgit v1.2.3-70-g09d2