Skip to content

Commit

Permalink
Merge pull request #227 from divyadaglia-unbxd/url_shortening
Browse files Browse the repository at this point in the history
chore(url):refer new web url state variable
  • Loading branch information
divyadaglia-unbxd authored Jul 4, 2022
2 parents a34f2aa + 5485f8b commit e827282
Show file tree
Hide file tree
Showing 3 changed files with 489 additions and 593 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
"@semantic-release/git": "^9.0.0",
"@semantic-release/release-notes-generator": "^9.0.1",
"@storybook/theming": "^6.2.9",
"@unbxd-ui/unbxd-search-core": "^0.4.6",
"@unbxd-ui/unbxd-search-core": "^0.4.7",
"prop-types": "^15.7.2",
"semantic-release": "^17.3.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/utils/getStateString.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const getStateString = function () {
const { productType } = this.options;
const q = this.state.currentUrl.split(
const q = this.state.currentWebUrl.split(
`${productType.toLocaleLowerCase()}?`
)[1];
this.state.urlState = q;
Expand Down
Loading

0 comments on commit e827282

Please sign in to comment.