Skip to content

Commit

Permalink
tests: don't use obsolete ecomp
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarmil committed Dec 8, 2024
1 parent e3c4d81 commit 3426163
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Client/Main.fs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ let viewCollection model dispatch =
.AddKey(fun _ -> dispatch AddKey)
.RevOrder(model.revOrder, fun rev -> dispatch (SetRevOrder rev))
.Items(forEach items <| fun (KeyValue(k, v)) ->
ecomp<ViewItem,_,_> (k, v) dispatch { attr.empty() })
comp<ViewItem,_,_> (k, v) dispatch { attr.empty() })

Check failure on line 181 in tests/Client/Main.fs

View workflow job for this annotation

GitHub Actions / build

This value, type or method expects 1 type parameter(s) but was given 3

Check failure on line 181 in tests/Client/Main.fs

View workflow job for this annotation

GitHub Actions / build

This value, type or method expects 1 type parameter(s) but was given 3
.Elt()

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

Check failure on line 208 in tests/Client/Main.fs

View workflow job for this annotation

GitHub Actions / build

This value, type or method expects 1 type parameter(s) but was given 3

Check failure on line 208 in tests/Client/Main.fs

View workflow job for this annotation

GitHub Actions / build

This value, type or method expects 1 type parameter(s) but was given 3

Check failure on line 208 in tests/Client/Main.fs

View workflow job for this annotation

GitHub Actions / build

This value, type or method expects 1 type parameter(s) but was given 3

Check failure on line 208 in tests/Client/Main.fs

View workflow job for this annotation

GitHub Actions / build

This value, type or method expects 1 type parameter(s) but was given 3
}

type MyApp() =
Expand Down

0 comments on commit 3426163

Please sign in to comment.