nextra icon indicating copy to clipboard operation
nextra copied to clipboard

[BUG?] Every reload i get this error

Open yan-pi opened this issue 1 year ago • 2 comments

Captura de tela de 2024-05-22 19-13-18

yan-pi avatar May 22 '24 22:05 yan-pi

yeah me too

Shubham-4467 avatar May 27 '24 16:05 Shubham-4467

This has not to do with nextra, but nextjs.

Are you mapping through items to create the list?

You can try using 'use client' / useEffect to make it a client component or try giving the <li> tags distinct key values:

  <ul>
    {items.map((item, index) => (
      <li key={index}>{item}</li>
    ))}
  </ul>

arno-fukuda avatar Jun 01 '24 05:06 arno-fukuda

Please provide a reproduction

dimaMachina avatar Oct 14 '24 08:10 dimaMachina