diff --git a/.env b/.env
new file mode 100644
index 00000000..c459b80a
--- /dev/null
+++ b/.env
@@ -0,0 +1,5 @@
+# this is to prevent warnings in webpack builds
+GENERATE_SOURCEMAP=false
+
+# uncomment and add the following line to `.env.local` if you are running behind a proxy or on a subdirectory
+# PUBLIC_URL=https://your-domain.com/directory-here
diff --git a/public/index.html b/public/index.html
index 16c77aec..9705cefa 100644
--- a/public/index.html
+++ b/public/index.html
@@ -16,14 +16,14 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/src/hooks/useSearchQuery.ts b/src/hooks/useSearchQuery.ts
index 942dee91..f83e7715 100644
--- a/src/hooks/useSearchQuery.ts
+++ b/src/hooks/useSearchQuery.ts
@@ -13,6 +13,7 @@ export function useSearchQuery(): [MWQuery, (inp: Partial) => void] {
const updateParams = (inp: Partial) => {
const copySearch: MWQuery = { ...search };
Object.assign(copySearch, inp);
+ setSearch(copySearch);
history.replace(
generatePath(path, {
query: