Skip to content

Commit a7c5d3d

Browse files
fix: include shared baseLocale translations in ApprovalRequest loader
1 parent 657d035 commit a7c5d3d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/modules/approval-requests/renderApprovalRequest.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export async function renderApprovalRequest(
2121
initI18next(baseLocale);
2222
await loadTranslations(baseLocale, [
2323
() => import(`./translations/locales/${baseLocale}.json`),
24+
() => import(`../shared/translations/locales/${baseLocale}.json`),
2425
]);
2526

2627
render(

src/modules/approval-requests/renderApprovalRequestList.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export async function renderApprovalRequestList(
2020
initI18next(baseLocale);
2121
await loadTranslations(baseLocale, [
2222
() => import(`./translations/locales/${baseLocale}.json`),
23+
() => import(`../shared/translations/locales/${baseLocale}.json`),
2324
]);
2425

2526
render(

0 commit comments

Comments
 (0)