converting some things to choo/component

This commit is contained in:
Danny Coates 2018-11-12 11:13:31 -08:00
parent a576d54d64
commit 037c79730d
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
16 changed files with 270 additions and 381 deletions

View file

@ -24,7 +24,7 @@ import html from 'choo/html';
import Raven from 'raven-js';
import assets from '../common/assets';
import header from '../app/ui/header';
import Header from '../app/ui/header';
import locale from '../common/locales';
import storage from '../app/storage';
import controller from '../app/controller';
@ -59,7 +59,7 @@ function body(main) {
>
<img src="${assets.get('preferences.png')}" />
</a>
${header(state, emit)} ${main(state, emit)}
${state.cache(Header, 'header').render()} ${main(state, emit)}
</body>
`;