From 8dc6438f2bf6e6c2f1fd83c515d7b38720564557 Mon Sep 17 00:00:00 2001 From: Mason Mackaman Date: Wed, 22 Apr 2020 00:46:01 -0400 Subject: [PATCH] Fix typo in Browser.Events.onResize documentation --- src/Browser/Events.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Browser/Events.elm b/src/Browser/Events.elm index 0dec4ec..7a1295c 100644 --- a/src/Browser/Events.elm +++ b/src/Browser/Events.elm @@ -190,7 +190,7 @@ For example, you could track the current width by saying: type Msg = GotNewWidth Int - subscriptions : model -> Cmd Msg + subscriptions : model -> Sub Msg subscriptions _ = E.onResize (\w h -> GotNewWidth w)