eleven-solutions-common-website-unique-web 3.0.5 → 3.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,7 +60,7 @@ const Taxionomies = () => {
60
60
  };
61
61
  const handleViewClick = (event, path, id, type) => {
62
62
  event.preventDefault();
63
- window.history.pushState({ id, type }, "", path);
63
+ window.history.pushState({ id, type }, "", path + id);
64
64
  console.log("State after push:", window.history.state);
65
65
  window.dispatchEvent(new PopStateEvent("popstate"));
66
66
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleven-solutions-common-website-unique-web",
3
- "version": "3.0.5",
3
+ "version": "3.0.6",
4
4
  "main": "./dist/index.js",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -76,7 +76,7 @@ const Taxionomies = () => {
76
76
  type: string
77
77
  ) => {
78
78
  event.preventDefault();
79
- window.history.pushState({ id, type }, "", path);
79
+ window.history.pushState({ id, type }, "", path + id);
80
80
  console.log("State after push:", window.history.state);
81
81
 
82
82
  window.dispatchEvent(new PopStateEvent("popstate"));