fix: add missing imports for useEffect and framer-motion in companies page
This commit is contained in:
parent
56f848e15d
commit
f9994a48ae
1 changed files with 4 additions and 3 deletions
|
|
@ -1,12 +1,13 @@
|
|||
"use client"
|
||||
|
||||
import { useState } from "react"
|
||||
import { useState, useEffect } from "react"
|
||||
import { Navbar } from "@/components/navbar"
|
||||
import { Footer } from "@/components/footer"
|
||||
import { Search, MapPin, Users, Briefcase, Star, TrendingUp, Building2, Globe, Heart, Filter } from "lucide-react"
|
||||
import { Search, MapPin, Users, Briefcase, Star, Building2, Filter } from "lucide-react"
|
||||
import Image from "next/image"
|
||||
import Link from "next/link"
|
||||
import { useTranslation } from "@/lib/i18n"
|
||||
import { motion, AnimatePresence } from "framer-motion"
|
||||
|
||||
interface Company {
|
||||
id: number
|
||||
|
|
@ -42,7 +43,7 @@ export default function CompaniesPage() {
|
|||
setCurrentImageIndex((prev) => (prev + 1) % heroImages.length)
|
||||
}, 5000)
|
||||
return () => clearInterval(timer)
|
||||
}, [])
|
||||
}, [heroImages.length])
|
||||
|
||||
const industries = [
|
||||
"Todas",
|
||||
|
|
|
|||
Loading…
Reference in a new issue