Skip to content

Commit

Permalink
remove ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
adrai committed Dec 6, 2023
1 parent 7f9656a commit 886b3b7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/appWithTranslation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ const addResourcesToI18next = (instance: I18NextClient, resources: Resource) =>
if (resources && instance.isInitialized) {
for (const locale of Object.keys(resources)) {
for (const ns of Object.keys(resources[locale])) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
if (!instance?.store?.data || !instance.store.data[locale] || !instance.store.data[locale][ns]) {
instance.addResourceBundle(
locale,
Expand Down

0 comments on commit 886b3b7

Please sign in to comment.