Skip to content

Commit 1dca2b0

Browse files
committed
Fix RxJS example
1 parent 4a0ca5a commit 1dca2b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/horizontal/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ function userSelectDriver(sort$): void {
3939
}
4040

4141
function main(sources: Sources): Sinks {
42-
const sinks = makeSortable(Child, {
42+
const sinks: any = makeSortable(Child, {
4343
itemSelector: 'ul > li'
4444
})(sources);
4545

4646
return {
47-
drag: sinks.drag,
47+
drag: sinks.dragging,
4848
DOM: sinks.DOM.map(dom =>
4949
div([h3('Horizontal too!'), p('this is running with RxJS'), dom])
5050
)

0 commit comments

Comments
 (0)