Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirlogachev committed May 2, 2024
1 parent c645207 commit e1749df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ init : Result Json.Decode.Error Flags -> Route () -> ( Model, Effect Msg )
init flagsResult _ =
case flagsResult of
Ok flags ->
( { window = GridLayout2.init layoutConfig flags.windowSize } , Effect.none )
( { layout = GridLayout2.init layoutConfig flags.windowSize } , Effect.none )

Err _ ->
Debug.todo ""
Expand All @@ -110,7 +110,7 @@ update : Route () -> Msg -> Model -> ( Model, Effect Msg )
update _ msg model =
case msg of
Shared.Msg.GotNewWindowSize newWindowSize ->
( { model | window = GridLayout2.update model.layout newWindowSize }, Effect.none )
( { model | layout = GridLayout2.update model.layout newWindowSize }, Effect.none )

subscriptions : Route () -> Model -> Sub Msg
subscriptions route model =
Expand Down

0 comments on commit e1749df

Please sign in to comment.