updated buildspec

This commit is contained in:
Vitalii Kiiko
2024-08-09 11:27:30 +02:00
parent 2661152673
commit 59f58a8fb7
3 changed files with 3 additions and 19 deletions

View File

@@ -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')
})
}, []);