@blerp/design 1.2.26 → 1.2.28

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/dist/index.cjs.js CHANGED
@@ -1572,7 +1572,7 @@ Blerp$1.propTypes = {
1572
1572
  };
1573
1573
 
1574
1574
  var UserCard$1 = function UserCard(_ref) {
1575
- var _user$twitchChannelIn, _user$twitchChannelIn2;
1575
+ var _user$twitchChannelIn, _user$twitchChannelIn2, _user$profileImage, _user$profileImage$or;
1576
1576
 
1577
1577
  var user = _ref.user,
1578
1578
  onUsernameClick = _ref.onUsernameClick,
@@ -1606,7 +1606,7 @@ var UserCard$1 = function UserCard(_ref) {
1606
1606
  padding: collapsed ? "3px" : "6px",
1607
1607
  boxSizing: "border-box"
1608
1608
  },
1609
- src: user === null || user === void 0 ? void 0 : user.profileUrl,
1609
+ src: (user === null || user === void 0 ? void 0 : (_user$profileImage = user.profileImage) === null || _user$profileImage === void 0 ? void 0 : (_user$profileImage$or = _user$profileImage.original) === null || _user$profileImage$or === void 0 ? void 0 : _user$profileImage$or.url) || "https://cdn.blerp.com/blerp_products/Icons/Account-White.svg",
1610
1610
  alt: "profile"
1611
1611
  }), (user === null || user === void 0 ? void 0 : user.verified) && /*#__PURE__*/React__default['default'].createElement(iconsMaterial.VerifiedRounded, {
1612
1612
  sx: {
@@ -1778,7 +1778,7 @@ var Container$1 = styled__default['default'].div(_templateObject2$a || (_templat
1778
1778
  });
1779
1779
 
1780
1780
  var AddContentDropdown = function AddContentDropdown(_ref) {
1781
- var _item$channelPointsCo, _item$whitelistContex, _item$walkOnContext, _item$discordContext, _item$soundEmotesCont;
1781
+ var _item$channelPointsCo, _item$whitelistContex, _item$walkOnContext, _item$discordContext, _item$soundEmotesCont, _options$;
1782
1782
 
1783
1783
  var item = _ref.item,
1784
1784
  active = _ref.active,
@@ -1847,7 +1847,7 @@ var AddContentDropdown = function AddContentDropdown(_ref) {
1847
1847
  pointerEvents: "none"
1848
1848
  }
1849
1849
  })
1850
- }, selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.name), /*#__PURE__*/React__default['default'].createElement(Popover, {
1850
+ }, (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.name) || ((_options$ = options[0]) === null || _options$ === void 0 ? void 0 : _options$.name)), /*#__PURE__*/React__default['default'].createElement(Popover, {
1851
1851
  open: open,
1852
1852
  anchorEl: anchor,
1853
1853
  anchorOrigin: {
@@ -1928,6 +1928,8 @@ var AddContentDropdown = function AddContentDropdown(_ref) {
1928
1928
  };
1929
1929
 
1930
1930
  var AddContentButton = function AddContentButton(_ref2) {
1931
+ var _item$whitelistContex2, _item$channelPointsCo2, _item$walkOnContext2, _item$discordContext2;
1932
+
1931
1933
  var item = _ref2.item,
1932
1934
  hovering = _ref2.hovering,
1933
1935
  hoveringAddTo = _ref2.hoveringAddTo,
@@ -1937,6 +1939,7 @@ var AddContentButton = function AddContentButton(_ref2) {
1937
1939
  onPlusClick = _ref2.onPlusClick,
1938
1940
  selectedOption = _ref2.selectedOption,
1939
1941
  isUnownedPremium = _ref2.isUnownedPremium;
1942
+ var added = Boolean((item === null || item === void 0 ? void 0 : (_item$whitelistContex2 = item.whitelistContext) === null || _item$whitelistContex2 === void 0 ? void 0 : _item$whitelistContex2._id) || (item === null || item === void 0 ? void 0 : (_item$channelPointsCo2 = item.channelPointsContext) === null || _item$channelPointsCo2 === void 0 ? void 0 : _item$channelPointsCo2._id) || (item === null || item === void 0 ? void 0 : (_item$walkOnContext2 = item.walkOnContext) === null || _item$walkOnContext2 === void 0 ? void 0 : _item$walkOnContext2._id) || (item === null || item === void 0 ? void 0 : (_item$discordContext2 = item.discordContext) === null || _item$discordContext2 === void 0 ? void 0 : _item$discordContext2._id));
1940
1943
  return /*#__PURE__*/React__default['default'].createElement(Stack, {
1941
1944
  direction: "row",
1942
1945
  width: hoveringAddTo ? "100%" : "60%",
@@ -2009,12 +2012,14 @@ var AddContentButton = function AddContentButton(_ref2) {
2009
2012
  e.stopPropagation();
2010
2013
  setHoveringAddTo(true);
2011
2014
  },
2012
- onClick: onPlusClick
2015
+ onClick: function onClick() {
2016
+ return onPlusClick(added);
2017
+ }
2013
2018
  }, /*#__PURE__*/React__default['default'].createElement(AddRoundedIcon__default['default'], {
2014
2019
  sx: {
2015
2020
  transition: "0.3s",
2016
2021
  color: "notBlack.override",
2017
- transform: (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.added) && "rotate(45deg)"
2022
+ transform: added && "rotate(45deg)"
2018
2023
  }
2019
2024
  })));
2020
2025
  };
@@ -2059,7 +2064,7 @@ var FavoriteIconWithCounter = function FavoriteIconWithCounter(_ref3) {
2059
2064
  }, savedCount));
2060
2065
  };
2061
2066
  var AddedToIcons = function AddedToIcons(_ref4) {
2062
- var _item$channelPointsCo2, _item$whitelistContex2, _item$walkOnContext2;
2067
+ var _item$channelPointsCo3, _item$whitelistContex3, _item$walkOnContext3;
2063
2068
 
2064
2069
  var item = _ref4.item,
2065
2070
  hovering = _ref4.hovering,
@@ -2071,15 +2076,15 @@ var AddedToIcons = function AddedToIcons(_ref4) {
2071
2076
  transition: "0.3s",
2072
2077
  opacity: hide ? "0" : hovering ? "1" : "0"
2073
2078
  }
2074
- }, (item === null || item === void 0 ? void 0 : (_item$channelPointsCo2 = item.channelPointsContext) === null || _item$channelPointsCo2 === void 0 ? void 0 : _item$channelPointsCo2._id) && /*#__PURE__*/React__default['default'].createElement(ChannelPointsIcon, {
2079
+ }, (item === null || item === void 0 ? void 0 : (_item$channelPointsCo3 = item.channelPointsContext) === null || _item$channelPointsCo3 === void 0 ? void 0 : _item$channelPointsCo3._id) && /*#__PURE__*/React__default['default'].createElement(ChannelPointsIcon, {
2075
2080
  sx: {
2076
2081
  fontSize: "15px"
2077
2082
  }
2078
- }), (item === null || item === void 0 ? void 0 : (_item$whitelistContex2 = item.whitelistContext) === null || _item$whitelistContex2 === void 0 ? void 0 : _item$whitelistContex2._id) && /*#__PURE__*/React__default['default'].createElement(TwitchBitIcon, {
2083
+ }), (item === null || item === void 0 ? void 0 : (_item$whitelistContex3 = item.whitelistContext) === null || _item$whitelistContex3 === void 0 ? void 0 : _item$whitelistContex3._id) && /*#__PURE__*/React__default['default'].createElement(TwitchBitIcon, {
2079
2084
  sx: {
2080
2085
  fontSize: "15px"
2081
2086
  }
2082
- }), (item === null || item === void 0 ? void 0 : (_item$walkOnContext2 = item.walkOnContext) === null || _item$walkOnContext2 === void 0 ? void 0 : _item$walkOnContext2._id) && /*#__PURE__*/React__default['default'].createElement(WalkonIcon, {
2087
+ }), (item === null || item === void 0 ? void 0 : (_item$walkOnContext3 = item.walkOnContext) === null || _item$walkOnContext3 === void 0 ? void 0 : _item$walkOnContext3._id) && /*#__PURE__*/React__default['default'].createElement(WalkonIcon, {
2083
2088
  sx: {
2084
2089
  fontSize: "15px"
2085
2090
  }
@@ -2520,10 +2525,9 @@ var NewBlerp$1 = function NewBlerp(_ref8) {
2520
2525
  });
2521
2526
  };
2522
2527
 
2523
- var handleAddToPlace = function handleAddToPlace(e) {
2528
+ var handleAddToPlace = function handleAddToPlace(added) {
2524
2529
  setAddedToPlace(true);
2525
- onAddToPlace(); // console.log(e, place);
2526
-
2530
+ onAddToPlace(added);
2527
2531
  setTimeout(function () {
2528
2532
  setAddedToPlace(false);
2529
2533
  }, 2000);
package/dist/index.esm.js CHANGED
@@ -1496,7 +1496,7 @@ Blerp$1.propTypes = {
1496
1496
  };
1497
1497
 
1498
1498
  var UserCard$1 = function UserCard(_ref) {
1499
- var _user$twitchChannelIn, _user$twitchChannelIn2;
1499
+ var _user$twitchChannelIn, _user$twitchChannelIn2, _user$profileImage, _user$profileImage$or;
1500
1500
 
1501
1501
  var user = _ref.user,
1502
1502
  onUsernameClick = _ref.onUsernameClick,
@@ -1530,7 +1530,7 @@ var UserCard$1 = function UserCard(_ref) {
1530
1530
  padding: collapsed ? "3px" : "6px",
1531
1531
  boxSizing: "border-box"
1532
1532
  },
1533
- src: user === null || user === void 0 ? void 0 : user.profileUrl,
1533
+ src: (user === null || user === void 0 ? void 0 : (_user$profileImage = user.profileImage) === null || _user$profileImage === void 0 ? void 0 : (_user$profileImage$or = _user$profileImage.original) === null || _user$profileImage$or === void 0 ? void 0 : _user$profileImage$or.url) || "https://cdn.blerp.com/blerp_products/Icons/Account-White.svg",
1534
1534
  alt: "profile"
1535
1535
  }), (user === null || user === void 0 ? void 0 : user.verified) && /*#__PURE__*/React__default.createElement(VerifiedRounded, {
1536
1536
  sx: {
@@ -1702,7 +1702,7 @@ var Container$1 = styled.div(_templateObject2$a || (_templateObject2$a = _tagged
1702
1702
  });
1703
1703
 
1704
1704
  var AddContentDropdown = function AddContentDropdown(_ref) {
1705
- var _item$channelPointsCo, _item$whitelistContex, _item$walkOnContext, _item$discordContext, _item$soundEmotesCont;
1705
+ var _item$channelPointsCo, _item$whitelistContex, _item$walkOnContext, _item$discordContext, _item$soundEmotesCont, _options$;
1706
1706
 
1707
1707
  var item = _ref.item,
1708
1708
  active = _ref.active,
@@ -1771,7 +1771,7 @@ var AddContentDropdown = function AddContentDropdown(_ref) {
1771
1771
  pointerEvents: "none"
1772
1772
  }
1773
1773
  })
1774
- }, selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.name), /*#__PURE__*/React__default.createElement(Popover, {
1774
+ }, (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.name) || ((_options$ = options[0]) === null || _options$ === void 0 ? void 0 : _options$.name)), /*#__PURE__*/React__default.createElement(Popover, {
1775
1775
  open: open,
1776
1776
  anchorEl: anchor,
1777
1777
  anchorOrigin: {
@@ -1852,6 +1852,8 @@ var AddContentDropdown = function AddContentDropdown(_ref) {
1852
1852
  };
1853
1853
 
1854
1854
  var AddContentButton = function AddContentButton(_ref2) {
1855
+ var _item$whitelistContex2, _item$channelPointsCo2, _item$walkOnContext2, _item$discordContext2;
1856
+
1855
1857
  var item = _ref2.item,
1856
1858
  hovering = _ref2.hovering,
1857
1859
  hoveringAddTo = _ref2.hoveringAddTo,
@@ -1861,6 +1863,7 @@ var AddContentButton = function AddContentButton(_ref2) {
1861
1863
  onPlusClick = _ref2.onPlusClick,
1862
1864
  selectedOption = _ref2.selectedOption,
1863
1865
  isUnownedPremium = _ref2.isUnownedPremium;
1866
+ var added = Boolean((item === null || item === void 0 ? void 0 : (_item$whitelistContex2 = item.whitelistContext) === null || _item$whitelistContex2 === void 0 ? void 0 : _item$whitelistContex2._id) || (item === null || item === void 0 ? void 0 : (_item$channelPointsCo2 = item.channelPointsContext) === null || _item$channelPointsCo2 === void 0 ? void 0 : _item$channelPointsCo2._id) || (item === null || item === void 0 ? void 0 : (_item$walkOnContext2 = item.walkOnContext) === null || _item$walkOnContext2 === void 0 ? void 0 : _item$walkOnContext2._id) || (item === null || item === void 0 ? void 0 : (_item$discordContext2 = item.discordContext) === null || _item$discordContext2 === void 0 ? void 0 : _item$discordContext2._id));
1864
1867
  return /*#__PURE__*/React__default.createElement(Stack, {
1865
1868
  direction: "row",
1866
1869
  width: hoveringAddTo ? "100%" : "60%",
@@ -1933,12 +1936,14 @@ var AddContentButton = function AddContentButton(_ref2) {
1933
1936
  e.stopPropagation();
1934
1937
  setHoveringAddTo(true);
1935
1938
  },
1936
- onClick: onPlusClick
1939
+ onClick: function onClick() {
1940
+ return onPlusClick(added);
1941
+ }
1937
1942
  }, /*#__PURE__*/React__default.createElement(AddRoundedIcon, {
1938
1943
  sx: {
1939
1944
  transition: "0.3s",
1940
1945
  color: "notBlack.override",
1941
- transform: (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.added) && "rotate(45deg)"
1946
+ transform: added && "rotate(45deg)"
1942
1947
  }
1943
1948
  })));
1944
1949
  };
@@ -1983,7 +1988,7 @@ var FavoriteIconWithCounter = function FavoriteIconWithCounter(_ref3) {
1983
1988
  }, savedCount));
1984
1989
  };
1985
1990
  var AddedToIcons = function AddedToIcons(_ref4) {
1986
- var _item$channelPointsCo2, _item$whitelistContex2, _item$walkOnContext2;
1991
+ var _item$channelPointsCo3, _item$whitelistContex3, _item$walkOnContext3;
1987
1992
 
1988
1993
  var item = _ref4.item,
1989
1994
  hovering = _ref4.hovering,
@@ -1995,15 +2000,15 @@ var AddedToIcons = function AddedToIcons(_ref4) {
1995
2000
  transition: "0.3s",
1996
2001
  opacity: hide ? "0" : hovering ? "1" : "0"
1997
2002
  }
1998
- }, (item === null || item === void 0 ? void 0 : (_item$channelPointsCo2 = item.channelPointsContext) === null || _item$channelPointsCo2 === void 0 ? void 0 : _item$channelPointsCo2._id) && /*#__PURE__*/React__default.createElement(ChannelPointsIcon, {
2003
+ }, (item === null || item === void 0 ? void 0 : (_item$channelPointsCo3 = item.channelPointsContext) === null || _item$channelPointsCo3 === void 0 ? void 0 : _item$channelPointsCo3._id) && /*#__PURE__*/React__default.createElement(ChannelPointsIcon, {
1999
2004
  sx: {
2000
2005
  fontSize: "15px"
2001
2006
  }
2002
- }), (item === null || item === void 0 ? void 0 : (_item$whitelistContex2 = item.whitelistContext) === null || _item$whitelistContex2 === void 0 ? void 0 : _item$whitelistContex2._id) && /*#__PURE__*/React__default.createElement(TwitchBitIcon, {
2007
+ }), (item === null || item === void 0 ? void 0 : (_item$whitelistContex3 = item.whitelistContext) === null || _item$whitelistContex3 === void 0 ? void 0 : _item$whitelistContex3._id) && /*#__PURE__*/React__default.createElement(TwitchBitIcon, {
2003
2008
  sx: {
2004
2009
  fontSize: "15px"
2005
2010
  }
2006
- }), (item === null || item === void 0 ? void 0 : (_item$walkOnContext2 = item.walkOnContext) === null || _item$walkOnContext2 === void 0 ? void 0 : _item$walkOnContext2._id) && /*#__PURE__*/React__default.createElement(WalkonIcon, {
2011
+ }), (item === null || item === void 0 ? void 0 : (_item$walkOnContext3 = item.walkOnContext) === null || _item$walkOnContext3 === void 0 ? void 0 : _item$walkOnContext3._id) && /*#__PURE__*/React__default.createElement(WalkonIcon, {
2007
2012
  sx: {
2008
2013
  fontSize: "15px"
2009
2014
  }
@@ -2444,10 +2449,9 @@ var NewBlerp$1 = function NewBlerp(_ref8) {
2444
2449
  });
2445
2450
  };
2446
2451
 
2447
- var handleAddToPlace = function handleAddToPlace(e) {
2452
+ var handleAddToPlace = function handleAddToPlace(added) {
2448
2453
  setAddedToPlace(true);
2449
- onAddToPlace(); // console.log(e, place);
2450
-
2454
+ onAddToPlace(added);
2451
2455
  setTimeout(function () {
2452
2456
  setAddedToPlace(false);
2453
2457
  }, 2000);
package/dist/index.umd.js CHANGED
@@ -1517,7 +1517,7 @@
1517
1517
  };
1518
1518
 
1519
1519
  var UserCard$1 = function UserCard(_ref) {
1520
- var _user$twitchChannelIn, _user$twitchChannelIn2;
1520
+ var _user$twitchChannelIn, _user$twitchChannelIn2, _user$profileImage, _user$profileImage$or;
1521
1521
 
1522
1522
  var user = _ref.user,
1523
1523
  onUsernameClick = _ref.onUsernameClick,
@@ -1551,7 +1551,7 @@
1551
1551
  padding: collapsed ? "3px" : "6px",
1552
1552
  boxSizing: "border-box"
1553
1553
  },
1554
- src: user === null || user === void 0 ? void 0 : user.profileUrl,
1554
+ src: (user === null || user === void 0 ? void 0 : (_user$profileImage = user.profileImage) === null || _user$profileImage === void 0 ? void 0 : (_user$profileImage$or = _user$profileImage.original) === null || _user$profileImage$or === void 0 ? void 0 : _user$profileImage$or.url) || "https://cdn.blerp.com/blerp_products/Icons/Account-White.svg",
1555
1555
  alt: "profile"
1556
1556
  }), (user === null || user === void 0 ? void 0 : user.verified) && /*#__PURE__*/React__default['default'].createElement(iconsMaterial.VerifiedRounded, {
1557
1557
  sx: {
@@ -1723,7 +1723,7 @@
1723
1723
  });
1724
1724
 
1725
1725
  var AddContentDropdown = function AddContentDropdown(_ref) {
1726
- var _item$channelPointsCo, _item$whitelistContex, _item$walkOnContext, _item$discordContext, _item$soundEmotesCont;
1726
+ var _item$channelPointsCo, _item$whitelistContex, _item$walkOnContext, _item$discordContext, _item$soundEmotesCont, _options$;
1727
1727
 
1728
1728
  var item = _ref.item,
1729
1729
  active = _ref.active,
@@ -1792,7 +1792,7 @@
1792
1792
  pointerEvents: "none"
1793
1793
  }
1794
1794
  })
1795
- }, selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.name), /*#__PURE__*/React__default['default'].createElement(Popover, {
1795
+ }, (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.name) || ((_options$ = options[0]) === null || _options$ === void 0 ? void 0 : _options$.name)), /*#__PURE__*/React__default['default'].createElement(Popover, {
1796
1796
  open: open,
1797
1797
  anchorEl: anchor,
1798
1798
  anchorOrigin: {
@@ -1873,6 +1873,8 @@
1873
1873
  };
1874
1874
 
1875
1875
  var AddContentButton = function AddContentButton(_ref2) {
1876
+ var _item$whitelistContex2, _item$channelPointsCo2, _item$walkOnContext2, _item$discordContext2;
1877
+
1876
1878
  var item = _ref2.item,
1877
1879
  hovering = _ref2.hovering,
1878
1880
  hoveringAddTo = _ref2.hoveringAddTo,
@@ -1882,6 +1884,7 @@
1882
1884
  onPlusClick = _ref2.onPlusClick,
1883
1885
  selectedOption = _ref2.selectedOption,
1884
1886
  isUnownedPremium = _ref2.isUnownedPremium;
1887
+ var added = Boolean((item === null || item === void 0 ? void 0 : (_item$whitelistContex2 = item.whitelistContext) === null || _item$whitelistContex2 === void 0 ? void 0 : _item$whitelistContex2._id) || (item === null || item === void 0 ? void 0 : (_item$channelPointsCo2 = item.channelPointsContext) === null || _item$channelPointsCo2 === void 0 ? void 0 : _item$channelPointsCo2._id) || (item === null || item === void 0 ? void 0 : (_item$walkOnContext2 = item.walkOnContext) === null || _item$walkOnContext2 === void 0 ? void 0 : _item$walkOnContext2._id) || (item === null || item === void 0 ? void 0 : (_item$discordContext2 = item.discordContext) === null || _item$discordContext2 === void 0 ? void 0 : _item$discordContext2._id));
1885
1888
  return /*#__PURE__*/React__default['default'].createElement(Stack, {
1886
1889
  direction: "row",
1887
1890
  width: hoveringAddTo ? "100%" : "60%",
@@ -1954,12 +1957,14 @@
1954
1957
  e.stopPropagation();
1955
1958
  setHoveringAddTo(true);
1956
1959
  },
1957
- onClick: onPlusClick
1960
+ onClick: function onClick() {
1961
+ return onPlusClick(added);
1962
+ }
1958
1963
  }, /*#__PURE__*/React__default['default'].createElement(AddRoundedIcon__default['default'], {
1959
1964
  sx: {
1960
1965
  transition: "0.3s",
1961
1966
  color: "notBlack.override",
1962
- transform: (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.added) && "rotate(45deg)"
1967
+ transform: added && "rotate(45deg)"
1963
1968
  }
1964
1969
  })));
1965
1970
  };
@@ -2004,7 +2009,7 @@
2004
2009
  }, savedCount));
2005
2010
  };
2006
2011
  var AddedToIcons = function AddedToIcons(_ref4) {
2007
- var _item$channelPointsCo2, _item$whitelistContex2, _item$walkOnContext2;
2012
+ var _item$channelPointsCo3, _item$whitelistContex3, _item$walkOnContext3;
2008
2013
 
2009
2014
  var item = _ref4.item,
2010
2015
  hovering = _ref4.hovering,
@@ -2016,15 +2021,15 @@
2016
2021
  transition: "0.3s",
2017
2022
  opacity: hide ? "0" : hovering ? "1" : "0"
2018
2023
  }
2019
- }, (item === null || item === void 0 ? void 0 : (_item$channelPointsCo2 = item.channelPointsContext) === null || _item$channelPointsCo2 === void 0 ? void 0 : _item$channelPointsCo2._id) && /*#__PURE__*/React__default['default'].createElement(ChannelPointsIcon, {
2024
+ }, (item === null || item === void 0 ? void 0 : (_item$channelPointsCo3 = item.channelPointsContext) === null || _item$channelPointsCo3 === void 0 ? void 0 : _item$channelPointsCo3._id) && /*#__PURE__*/React__default['default'].createElement(ChannelPointsIcon, {
2020
2025
  sx: {
2021
2026
  fontSize: "15px"
2022
2027
  }
2023
- }), (item === null || item === void 0 ? void 0 : (_item$whitelistContex2 = item.whitelistContext) === null || _item$whitelistContex2 === void 0 ? void 0 : _item$whitelistContex2._id) && /*#__PURE__*/React__default['default'].createElement(TwitchBitIcon, {
2028
+ }), (item === null || item === void 0 ? void 0 : (_item$whitelistContex3 = item.whitelistContext) === null || _item$whitelistContex3 === void 0 ? void 0 : _item$whitelistContex3._id) && /*#__PURE__*/React__default['default'].createElement(TwitchBitIcon, {
2024
2029
  sx: {
2025
2030
  fontSize: "15px"
2026
2031
  }
2027
- }), (item === null || item === void 0 ? void 0 : (_item$walkOnContext2 = item.walkOnContext) === null || _item$walkOnContext2 === void 0 ? void 0 : _item$walkOnContext2._id) && /*#__PURE__*/React__default['default'].createElement(WalkonIcon, {
2032
+ }), (item === null || item === void 0 ? void 0 : (_item$walkOnContext3 = item.walkOnContext) === null || _item$walkOnContext3 === void 0 ? void 0 : _item$walkOnContext3._id) && /*#__PURE__*/React__default['default'].createElement(WalkonIcon, {
2028
2033
  sx: {
2029
2034
  fontSize: "15px"
2030
2035
  }
@@ -2465,10 +2470,9 @@
2465
2470
  });
2466
2471
  };
2467
2472
 
2468
- var handleAddToPlace = function handleAddToPlace(e) {
2473
+ var handleAddToPlace = function handleAddToPlace(added) {
2469
2474
  setAddedToPlace(true);
2470
- onAddToPlace(); // console.log(e, place);
2471
-
2475
+ onAddToPlace(added);
2472
2476
  setTimeout(function () {
2473
2477
  setAddedToPlace(false);
2474
2478
  }, 2000);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blerp/design",
3
- "version": "1.2.26",
3
+ "version": "1.2.28",
4
4
  "description": "Blerp UI",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {