Skip to content

Commit

Permalink
setQueryStrings should replace existing parameters (#110)
Browse files Browse the repository at this point in the history
* setQueryStrings should replace existing parameters

* Update JS
  • Loading branch information
MonoidMusician authored and paf31 committed Sep 11, 2017
1 parent 87cb4b4 commit 6459c0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Try/QueryString.purs
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ setQueryString k v = setQueryStrings (StrMap.singleton k v)
setQueryStrings :: forall eff. StrMap.StrMap String -> Eff (dom :: DOM | eff) Unit
setQueryStrings ss = do
params <- getQueryParams
runEffFn1 setQueryParameters (StrMap.union params ss)
runEffFn1 setQueryParameters (StrMap.union ss params)

0 comments on commit 6459c0e

Please sign in to comment.