Skip to content

Commit f337217

Browse files
committed
Fix TypeScript errors
1 parent 0426ad4 commit f337217

8 files changed

Lines changed: 7 additions & 11 deletions

File tree

src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import React, { useState, useEffect } from 'react'
2-
import { motion, AnimatePresence } from 'framer-motion'
1+
import { useState, useEffect } from 'react'
2+
import { motion } from 'framer-motion'
33
import Navbar from './components/Navbar'
44
import Hero from './components/Hero'
55
import About from './components/About'

src/components/About.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import { motion } from 'framer-motion'
32
import { Code, Users, Award } from 'lucide-react'
43

src/components/Footer.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import { motion } from 'framer-motion'
32
import { Heart, Github, Linkedin, Mail } from 'lucide-react'
43

@@ -51,7 +50,7 @@ const Footer = () => {
5150
viewport={{ once: true }}
5251
className="flex justify-center space-x-4"
5352
>
54-
{socialLinks.map((social, index) => (
53+
{socialLinks.map((social) => (
5554
<motion.a
5655
key={social.label}
5756
whileHover={{ scale: 1.1, y: -2 }}

src/components/Hero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState, useEffect } from 'react'
1+
import { useState, useEffect } from 'react'
22
import { motion } from 'framer-motion'
33
import { Download, Github, Linkedin, Mail, ChevronDown } from 'lucide-react'
44
import ProfileImage from './ProfileImage'

src/components/Navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState, useEffect } from 'react'
1+
import { useState, useEffect } from 'react'
22
import { motion } from 'framer-motion'
33
import { Menu, X, Sun, Moon } from 'lucide-react'
44
import { useTheme } from '../contexts/ThemeContext'

src/components/ProfileImage.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import React, { useState } from 'react'
1+
import { useState } from 'react'
22
import { motion } from 'framer-motion'
3-
import { User } from 'lucide-react'
43

54
interface ProfileImageProps {
65
src?: string

src/components/Projects.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState } from 'react'
1+
import { useState } from 'react'
22
import { motion, AnimatePresence } from 'framer-motion'
33
import { ExternalLink, Github, Laptop, Server, Smartphone } from 'lucide-react'
44

src/components/Skills.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import { motion } from 'framer-motion'
32

43
const Skills = () => {

0 commit comments

Comments
 (0)