Added state management

This commit is contained in:
2022-05-19 22:57:38 +03:00
parent 68f9600e08
commit b3aa31a3f6
12 changed files with 111 additions and 10 deletions

View File

@@ -3,15 +3,18 @@ import { render } from 'solid-js/web';
import { I18nContext } from "@solid-primitives/i18n";
import { StoreProvider } from "./store/index";
import './index.css';
import App from './App';
import localization from './localization';
render(
() => (
<StoreProvider>
<I18nContext.Provider value={localization}>
<App />
</I18nContext.Provider>
</StoreProvider>
),
document.getElementById('root') as HTMLElement
);