Skip to content

Commit

Permalink
merge messages
Browse files Browse the repository at this point in the history
  • Loading branch information
SKarolFolio committed Nov 11, 2024
1 parent fa916c4 commit 47e922c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/hooks/useLoadI18nMessages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const useLoadI18nMessages = (cachedMessages: I18nMessages, defaultLocale
const messages = await loadI18nMessages(locale);

if (messages) {
cachedMessages[locale] = {...cachedMessages[defaultLocale], messages};
cachedMessages[locale] = {...cachedMessages[defaultLocale], ...messages};
}
};

Expand Down

0 comments on commit 47e922c

Please sign in to comment.