l-min-components 1.0.549 → 1.0.551

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.0.549",
3
+ "version": "1.0.551",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -80,8 +80,9 @@ const DropDownComponent = (props) => {
80
80
  onChange={(e) => {
81
81
  setSearchParam(e.target.value);
82
82
  }}
83
+
83
84
  // onClick={() => setDropdown(true)}
84
- onClick={handleDropdownToggle}
85
+ onFocus={handleDropdownToggle}
85
86
  />
86
87
  ) : (
87
88
  // <p onClick={() => setDropdown(!dropdown)}>
@@ -259,8 +259,13 @@ const AccountDropdown = (props) => {
259
259
  <AccountDropdownFooter>
260
260
  <button
261
261
  onClick={() => {
262
- window.location.href =
263
- "https://559staging.learngual.com/auth/sign-up/developer/organization-details";
262
+ if(window.location.hostname.includes("staging")){
263
+ window.location.href =
264
+ "https://559staging.learngual.com/auth/account-type";
265
+ }
266
+ else if(!window.location.hostname.includes("localhost")){
267
+ window.location.href= "https://learngual.com/auth/account-type";
268
+ }
264
269
  }}
265
270
  style={{ cursor: "pointer" }}
266
271
  >