Skip to content

Commit

Permalink
run lint
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjnaT41756 authored and jpaten committed Feb 21, 2024
1 parent 048214f commit 2651edb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/shared/Exercises/AxisExercise.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ function AxisExercise({
}: AxisExerciseProps): JSX.Element {
const markerSpacing = 60 / (markers.length - 1);
const isHorizontal = orientation === 'horizontal';
const size = isHorizontal ? '70%' : '30%';
const size = isHorizontal ? '70%' : '30%';
return (
<div
className="axis-container"
style={{
//transform: `rotate(${orientation === 'horizontal' ? '0deg' : '90deg'})`, // axis orientation
transform: `rotate(${isHorizontal ? '0deg' : '90deg'})`, // axis orientation
width:size,
width: size,
}}
>
<img className="axis-img" src={Axis} alt="single-axis" />
Expand Down

0 comments on commit 2651edb

Please sign in to comment.