updated buildspec
This commit is contained in:
@@ -7,12 +7,10 @@ import { I18nProvider } from '@wordpress/react-i18n';
|
||||
const i18n = createI18n({}, 'gepafin');
|
||||
|
||||
function App() {
|
||||
console.log('mount')
|
||||
useEffect(() => {
|
||||
fetch('/languages/en_US.json')
|
||||
.then((res) => res.json())
|
||||
.then(res => {
|
||||
console.log('loaded')
|
||||
setLocaleData(res.locale_data['gepafin'], 'gepafin')
|
||||
})
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user