worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
15
node_modules/react-i18next/dist/es/I18nextProvider.js
generated
vendored
Normal file
15
node_modules/react-i18next/dist/es/I18nextProvider.js
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import { createElement, useMemo } from 'react';
|
||||
import { I18nContext } from './context.js';
|
||||
export function I18nextProvider({
|
||||
i18n,
|
||||
defaultNS,
|
||||
children
|
||||
}) {
|
||||
const value = useMemo(() => ({
|
||||
i18n,
|
||||
defaultNS
|
||||
}), [i18n, defaultNS]);
|
||||
return createElement(I18nContext.Provider, {
|
||||
value
|
||||
}, children);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue