Commit af8f09e
root
fix(i18n): remove affiliate namespace from eager preload to prevent retry loops
The affiliate namespace was eagerly preloaded on every page load in main.tsx.
If affiliate.json fails to load (e.g. missing in deployment or path resolution
issues), i18next-http-backend retries continuously, causing significant
slowdowns on every page visit.
Since the affiliate route is already lazy-loaded (affiliate.lazy.tsx), the
i18n translations will now only load on-demand when users actually navigate
to the affiliate page — consistent with the lazy-loading strategy already
in place.
Fixes: #311 parent 9fd1145 commit af8f09e
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
0 commit comments