Skip to content

Commit

Permalink
Update context.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
snowystinger committed May 15, 2024
1 parent d38ea79 commit b9abf98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@react-aria/i18n/src/context.tsx
Expand Up @@ -37,7 +37,7 @@ export function I18nProvider(props: I18nProviderProps) {
locale,
direction: isRTL(locale) ? 'rtl' : 'ltr'
};
}, [locale);
}, [defaultLocale, locale]);

return (
<I18nContext.Provider value={value}>
Expand Down

0 comments on commit b9abf98

Please sign in to comment.