Skip to content

Commit

Permalink
style: prettify code
Browse files Browse the repository at this point in the history
  • Loading branch information
Yovach committed Jan 15, 2024
1 parent 4ea2e3a commit b2fb35a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ export function createI18nProviderClient<Locale extends BaseLocale>(
fallbackLocale?: Record<string, unknown>,
) {
function I18nProvider({ locale, importLocale, children }: I18nProviderProps) {
const clientLocale = (localesCache.get(locale) ?? localesCache.set(locale, use(importLocale).default)) as Record<string, unknown>;
const clientLocale = (localesCache.get(locale) ?? localesCache.set(locale, use(importLocale).default)) as Record<
string,
unknown
>;

const value = useMemo(
() => ({
Expand Down

0 comments on commit b2fb35a

Please sign in to comment.