summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-04-17 12:35:09 -0700
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-04-17 12:35:09 -0700
commitec178fd365cd363c9f2219e0e734228cab101873 (patch)
treec9c58a546891690e32b624d36cfbeac13bc4c3f0 /src/lib
parent9f3c0c97f7a9d4ac51496902983231d8f7af4cc6 (diff)
Hack around weird bug
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/url.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/url.js b/src/lib/url.js
index 83a8d12..7e294cf 100644
--- a/src/lib/url.js
+++ b/src/lib/url.js
@@ -1,7 +1,7 @@
-import { window } from 'browser-monads'
+// import { window } from 'browser-monads'
-export const parseQuery = () =>
- window.location.search && parseQueryString(window.location.search)
+export const parseQuery = () => ''
+// window.location.search && parseQueryString(window.location.search)
export const parseQueryString = query =>
query
@@ -22,5 +22,5 @@ export const objectToQuery = query =>
)
export const writeQuery = queryObj => {
- window.history.pushState({}, '', objectToQuery(queryObj))
+ // window.history.pushState({}, '', objectToQuery(queryObj))
}