We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebb3617 commit ff2acd3Copy full SHA for ff2acd3
src/i18n/config.ts
@@ -47,6 +47,10 @@ i18n
47
interpolation: {
48
escapeValue: false,
49
},
50
+ backend: {
51
+ // Path to the translation files
52
+ loadPath: import.meta.env.BASE_URL + "locales/{{lng}}/{{ns}}.json",
53
+ },
54
});
55
56
export default i18n;
src/reactComponents/Header.tsx
@@ -87,7 +87,7 @@ export default function Header(props: HeaderProps): React.JSX.Element {
87
<img
88
height={LOGO_HEIGHT}
89
style={{objectFit: 'contain'}}
90
- src={isDarkTheme ? "/FIRST_HorzRGB_reverse.png" : "/FIRST_HorzRGB.png"}
+ src={import.meta.env.BASE_URL + (isDarkTheme ? "/FIRST_HorzRGB_reverse.png" : "/FIRST_HorzRGB.png")}
91
alt="FIRST Logo"
92
/>
93
<Antd.Typography
0 commit comments