Skip to content

Commit bfc0017

Browse files
committed
tests: don't use obsolete rootComp
1 parent e3c4d81 commit bfc0017

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Client/Main.fs

+2-2
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ let viewCollection model dispatch =
178178
.AddKey(fun _ -> dispatch AddKey)
179179
.RevOrder(model.revOrder, fun rev -> dispatch (SetRevOrder rev))
180180
.Items(forEach items <| fun (KeyValue(k, v)) ->
181-
ecomp<ViewItem,_,_> (k, v) dispatch { attr.empty() })
181+
comp<ViewItem,_,_> (k, v) dispatch { attr.empty() })
182182
.Elt()
183183

184184
type ViewItemPage() =
@@ -205,7 +205,7 @@ let view js model dispatch =
205205
cond model.page <| function
206206
| Form -> viewForm js model dispatch
207207
| Collection -> viewCollection model dispatch
208-
| Item k -> ecomp<ViewItemPage,_,_> (k, model.items[k]) dispatch { attr.empty() }
208+
| Item k -> comp<ViewItemPage,_,_> (k, model.items[k]) dispatch { attr.empty() }
209209
}
210210

211211
type MyApp() =

0 commit comments

Comments
 (0)