Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlyobvious committed Mar 21, 2024
1 parent fd5bed3 commit e8ecb48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ruby_event_store-browser/elm/src/Layout.elm
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ goToStream { key, flags } stream =
Browser.Navigation.pushUrl key (Route.streamUrl flags.rootUrl stream)


searchStreams : Flags -> String -> Cmd Msg
searchStreams flags stream =
searchStreams : WrappedModel Model -> String -> Cmd Msg
searchStreams { flags } stream =
getSearchStreams SearchedStreamsFetched flags stream


Expand All @@ -89,7 +89,7 @@ update msg model =
)

OnQueryChanged streamName ->
( model, searchStreams model.flags streamName )
( model, searchStreams model streamName )

TimeZoneSelected zoneName ->
let
Expand Down

0 comments on commit e8ecb48

Please sign in to comment.