My app is fully deployed in Netlify and working. but when I came back to “Studio” to repare an issue in the header of a sheet that should be printed the Google AI Studio entred in a loop withthis error.:
O erro #31 no React (“Minified React error #31”) geralmente ocorre quando existem conflitos de versão do React na aplicação (neste caso, React 18 e React 19 a serem carregados simultaneamente via importmap), o que faz com que componentes criados por uma versão não sejam reconhecidos pela outra.
Vou remover as entradas duplicadas do React 19 no index.html para resolver o problema.
What can I do??? I need to finish my app and like so I´m unabble to do it…
That error usually means the AI Studio editor is loading multiple React builds due to conflicting script imports. In your case, check the index.html or any injected scripts in AI Studio for duplicate React references, especially if a CDN or importmap is pulling both React 18 and 19. Remove any redundant <script> tags so only one React version is loaded. If the loop persists, try clearing your AI Studio project’s cached preview via the Studio settings > Reset environment option, then reload the editor to ensure it’s using the updated file.