Skip to content

Commit

Permalink
Fixed typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
medihack committed Mar 5, 2021
1 parent b6e50de commit bd657b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/useTranslation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit bd657b6

Please sign in to comment.