Fix jwt-token

This commit is contained in:
2025-08-19 04:29:27 +02:00
parent af341f5891
commit da6e8bbaac
2 changed files with 21 additions and 1 deletions

View File

@@ -3,6 +3,19 @@ import ReactDOM from 'react-dom/client'
import App from './App.jsx'
import './index.css'
// Suppress browser extension errors in development
if (process.env.NODE_ENV === 'development') {
const originalError = console.error;
console.error = (...args) => {
// Filter out extension-related errors
const message = args[0]?.toString() || '';
if (message.includes('content.js') || message.includes('checkoutUrls')) {
return; // Suppress extension errors
}
originalError.apply(console, args);
};
}
ReactDOM.createRoot(document.getElementById('root')).render(
<React.StrictMode>
<App />