Fixed: Translating column names

pull/5811/head
Mark McDowall 11 months ago
parent c206b92912
commit f62bc59a73

@ -1,10 +1,8 @@
import { createBrowserHistory } from 'history'; import { createBrowserHistory } from 'history';
import React from 'react'; import React from 'react';
import { render } from 'react-dom'; import { render } from 'react-dom';
import createAppStore from 'Store/createAppStore';
import { fetchTranslations } from 'Utilities/String/translate'; import { fetchTranslations } from 'Utilities/String/translate';
// import App from './App/App';
import './preload'; import './preload';
import './polyfills'; import './polyfills';
import 'Diag/ConsoleApi'; import 'Diag/ConsoleApi';
@ -12,10 +10,13 @@ import 'Styles/globals.css';
import './index.css'; import './index.css';
const history = createBrowserHistory(); const history = createBrowserHistory();
const store = createAppStore(history);
const hasTranslationsError = !await fetchTranslations(); const hasTranslationsError = !await fetchTranslations();
const { default: createAppStore } = await import('Store/createAppStore');
const { default: App } = await import('./App/App'); const { default: App } = await import('./App/App');
const store = createAppStore(history);
render( render(
<App <App
store={store} store={store}

Loading…
Cancel
Save