oddsgate-ds 1.0.121 → 1.0.122

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": "oddsgate-ds",
3
- "version": "1.0.121",
3
+ "version": "1.0.122",
4
4
  "description": "Miew theme component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -105,7 +105,7 @@ const ProductsSlider = ({
105
105
  const addStyle = () => {
106
106
  setTimeout(() => {
107
107
  contentHolder?.current?.classList.add('active');
108
- slides[currentSlide].classList.add('active');
108
+ if (slides[currentSlide]) slides[currentSlide].classList.add('active');
109
109
  }, 200);
110
110
  };
111
111
  const removeStyle = () => {
@@ -69,6 +69,6 @@ export const StyledProductsSliderContent = styled.div<IProductsSlider>`
69
69
  border-radius: ${radius.md};
70
70
  padding: 2rem;
71
71
  margin: auto;
72
- transform: translateY(-6vw);
72
+ transform: translateY(-70%);
73
73
  `;
74
74