Skip to content

Commit f722abb

Browse files
authored
Merge pull request #415 from objectstack-ai/copilot/update-ci-pipeline-configuration
2 parents 2f6986d + 533f7f2 commit f722abb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/i18n/src/provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface I18nProviderProps {
4343
export function I18nProvider({ config, instance: externalInstance, children }: I18nProviderProps) {
4444
const i18nInstance = useMemo(
4545
() => externalInstance || createI18n(config),
46-
[externalInstance], // eslint-disable-line react-hooks/exhaustive-deps
46+
[externalInstance, config],
4747
);
4848

4949
const [language, setLanguage] = useState(i18nInstance.language || 'en');

0 commit comments

Comments
 (0)