From aa36f74762c77a7bd988f8a92a46135a0f97baf6 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Thu, 21 Nov 2024 11:34:41 +0000 Subject: [PATCH] rename newModel -> updateModel --- frontend/src/Main.elm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Main.elm b/frontend/src/Main.elm index 661a95a..27f4db2 100644 --- a/frontend/src/Main.elm +++ b/frontend/src/Main.elm @@ -195,9 +195,9 @@ type Msg update : Msg -> Model -> (Model, Cmd Msg) -update msg model = (newModel msg model, Cmd.none) +update msg model = (updateModel msg model, Cmd.none) -newModel msg model = +updateModel msg model = case msg of MapScale y -> { model | zoom = incZoom model.zoom y }