From 40aaeba3b37a97371cb06c64506fa2d535e83b50 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Wed, 25 Dec 2024 12:18:45 +0000 Subject: [PATCH] style: format code with Prettier and StandardJS This commit fixes the style issues introduced in b2d71bb according to the output from Prettier and StandardJS. Details: None --- .../stateless/HorizontalScroll/index.jsx | 2 +- src/pages/motion/index.jsx | 39 +++++++++---------- 2 files changed, 19 insertions(+), 22 deletions(-) diff --git a/src/components/stateless/HorizontalScroll/index.jsx b/src/components/stateless/HorizontalScroll/index.jsx index a7461a75..37d02d3f 100644 --- a/src/components/stateless/HorizontalScroll/index.jsx +++ b/src/components/stateless/HorizontalScroll/index.jsx @@ -48,7 +48,7 @@ const Card = ({ card }) => { backgroundPosition: 'center', }} className="absolute inset-0 z-0 transition-transform duration-300 group-hover:scale-110" - > + />
{card.title}
diff --git a/src/pages/motion/index.jsx b/src/pages/motion/index.jsx
index c38299f8..e51ab9f4 100644
--- a/src/pages/motion/index.jsx
+++ b/src/pages/motion/index.jsx
@@ -69,7 +69,7 @@ const easeNames = [
]
const randomSort = (arr) => {
- let newArr = []
+ const newArr = []
const len = arr.length
for (let i = 0; i < len; i++) {
const random = Math.floor(Math.random() * arr.length)
@@ -158,9 +158,9 @@ const ParallaxVert = () => {
backgroundColor: '#aaa',
borderRadius: '3px',
// scaleX: scrollYProgress,
- scaleX: scaleX,
+ scaleX,
}}
- >
+ />