import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import './index.css';

// Suprime o aviso do React DevTools no console
const originalInfo = console.info;
console.info = (...args) => {
  if (typeof args[0] === 'string' && args[0].includes('Download the React DevTools')) {
    return;
  }
  originalInfo(...args);
};

ReactDOM.createRoot(document.getElementById('root')!).render(
  <React.StrictMode>
    <App />
  </React.StrictMode>,
);
