From bd657b6d1b0da889166c8cc0fe4fb234af2b6ee4 Mon Sep 17 00:00:00 2001 From: medihack Date: Fri, 5 Mar 2021 07:34:25 +0100 Subject: [PATCH] Fixed typo in comment --- src/useTranslation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/useTranslation.js b/src/useTranslation.js index 885bf4ae1..ccbb3ecdc 100755 --- a/src/useTranslation.js +++ b/src/useTranslation.js @@ -76,7 +76,7 @@ export function useTranslation(ns, props = {}) { }; }, [namespaces.join()]); // re-run effect whenever list of namespaces changes - // t is correctly initialized by useState hook. We only neet to update it after i18n + // t is correctly initialized by useState hook. We only need to update it after i18n // instance was replaced (for example in the provider). const isInitial = useRef(true); useEffect(() => {