Skip to content

Commit

Permalink
fix(cmpts): remove unused variables in hero
Browse files Browse the repository at this point in the history
  • Loading branch information
FradSer committed May 4, 2023
1 parent f390254 commit 4554a15
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/Landing/Hero/Rectangle.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { useState } from 'react'

import { motion, useMotionValue, useTransform } from 'framer-motion'

import useMousePosition from '@/hooks/useMousePosition'
Expand All @@ -13,8 +11,7 @@ export default function Rectangle() {
const size = useWindowSize()

// * Animation
const [angle, setAngle] = useState(2)
const [perspective, setPerspective] = useState(500)
let angle = 2

// we replace the useState with two motion values. One for each axis.
// Since we want the card to start out flat we set the initial
Expand Down

0 comments on commit 4554a15

Please sign in to comment.