Skip to content

Commit

Permalink
Merge pull request #301 from ajay-dhangar/deepsource-autofix-fc766f5a
Browse files Browse the repository at this point in the history
refactor: replace template strings with regular string literals
  • Loading branch information
ajay-dhangar authored Sep 20, 2024
2 parents 8074c5e + ed9f946 commit 0253b0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/data/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const workExperience = [
id: 1,
title: "Software Developer - OptimumAI",
role: " - Software Development Intern (Remote)",
desc: `Developed and maintained software applications for OptimumAI, focusing on front-end development and user interface design. Collaborated with the team to create innovative solutions and improve existing products.`,
desc: "Developed and maintained software applications for OptimumAI, focusing on front-end development and user interface design. Collaborated with the team to create innovative solutions and improve existing products.",
className: "md:col-span-2",
thumbnail: "/technomide.jpg",
},
Expand Down
4 changes: 2 additions & 2 deletions src/ui/Card3DConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const CardContainer = ({
const handleMouseLeave = () => {
setIsMouseEntered(false);
if (containerRef.current) {
containerRef.current.style.transform = `rotateY(0deg) rotateX(0deg)`;
containerRef.current.style.transform = "rotateY(0deg) rotateX(0deg)";
}
};

Expand Down Expand Up @@ -98,7 +98,7 @@ export const CardItem = ({
if (ref.current) {
ref.current.style.transform = isMouseEntered
? `translateX(${translateX}px) translateY(${translateY}px) translateZ(${translateZ}px) rotateX(${rotateX}deg) rotateY(${rotateY}deg) rotateZ(${rotateZ}deg)`
: `translateX(0) translateY(0) translateZ(0) rotateX(0) rotateY(0) rotateZ(0)`;
: "translateX(0) translateY(0) translateZ(0) rotateX(0) rotateY(0) rotateZ(0)";
}
}, [isMouseEntered, translateX, translateY, translateZ, rotateX, rotateY, rotateZ]);

Expand Down

0 comments on commit 0253b0e

Please sign in to comment.