From f06bf6a8cc95852436c0f25f24eb6e67ec5e6298 Mon Sep 17 00:00:00 2001 From: Katherine Jensen Date: Wed, 20 Nov 2024 12:18:18 -0800 Subject: [PATCH] Remove unnecessary useMemo --- .../src/paratext-registration.web-view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/src/paratext-registration/src/paratext-registration.web-view.tsx b/extensions/src/paratext-registration/src/paratext-registration.web-view.tsx index 1d73a5b116..d95b04a933 100644 --- a/extensions/src/paratext-registration/src/paratext-registration.web-view.tsx +++ b/extensions/src/paratext-registration/src/paratext-registration.web-view.tsx @@ -85,7 +85,7 @@ globalThis.webViewComponent = function ParatextRegistration({ useWebViewState }: }; }, []); - const [localizedStrings] = useLocalizedStrings(useMemo(() => LOCALIZED_STRING_KEYS, [])); + const [localizedStrings] = useLocalizedStrings(LOCALIZED_STRING_KEYS); const [name, setName] = useWebViewState('name', ''); const [registrationCode, setRegistrationCode] = useWebViewState('registrationCode', '');