Add typings for Box and BoxesField classes, split BSoD view into controller and pure view, add storybook, fix support link styles

This commit is contained in:
ErickSkrauch
2020-01-15 23:39:53 +03:00
parent 32ebba63a1
commit 228bc048af
11 changed files with 271 additions and 204 deletions

View File

@@ -5,7 +5,7 @@ import { Store } from 'app/reducers';
import { History } from 'history';
import { bsod } from './actions';
import BSoD from './BSoD';
import BSoDContainer from './BSoDContainer';
let injectedStore: Store;
let injectedHistory: History<any>;
@@ -20,7 +20,7 @@ export default function dispatchBsod(
ReactDOM.render(
<ContextProvider store={store} history={history}>
<BSoD />
<BSoDContainer />
</ContextProvider>,
document.getElementById('app'),
);