Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

201
Views
¿Por qué Tailwind "focus:" style no se activa con el enlace de estado predeterminado?

Estoy usando ganchos de estado para crear un banner de características. Todo funciona excepto cuando la página carga el "foco" de viento de cola: el estilo no se activa hasta que hago clic en uno de los botones, aunque el enlace de estado esté configurado en (autoProto).

 //page function const Page = ({ data }: Props) => { const { data: cardioDI } = data.prismicCardioDi const [feature, setFeature] = useState(autoProto); //buttons to change the state <button className="w-full overflow-hidden z-40 sm:text-base lg:text-lg text-white hover:text-yellow-600 focus:text-yellow-600" onClick = {() => setFeature(autoProto)}>Automatic Protocolling</button> <button className="w-full overflow-hidden z-40 sm:text-base lg:text-lg text-white hover:text-yellow-600 focus:text-yellow-600" onClick = {() => setFeature(nlg)}>Natural Language Generation</button>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!