diff --git a/package.json b/package.json index 902664b..0a0c8eb 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "dependencies": { "@cycle/core": "^6.0.0", "@cycle/isolate": "1.2.0", - "@eldarlabs/cycle-ui": "0.6.0", + "@eldarlabs/cycle-ui": "0.6.1", "autoprefixer": "^6.3.4", "classnames": "^2.2.3", "cycle-snabbdom": "1.2.1", diff --git a/src/components/views/Main.ts b/src/components/views/Main.ts index f1a8c8b..66e37d0 100644 --- a/src/components/views/Main.ts +++ b/src/components/views/Main.ts @@ -1,18 +1,17 @@ -const { article } = require('cycle-snabbdom'); +const { article, div } = require('cycle-snabbdom'); import { Observable as $ } from 'rx'; import { HeaderView } from './Header'; import { FooterView } from './Footer'; import { KitchenSinkView } from '../../demo/kitchenSink/components/views/KitchenSink'; -import { App } from '@eldarlabs/cycle-ui'; export function MainView$(sources: any) { return $.just( - App([ + div([ HeaderView(), article([ KitchenSinkView(sources), ]), FooterView() - ]).DOM + ]) ); }