﻿// src/main.tsx
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
// ZMIANA: Importujemy z AuthProvider, a nie z AuthContext
import { AuthProvider } from './context/AuthProvider';
import './index.css';

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