/**
 * Main App component with Router.
 *
 * ⚠️ AUTO-GENERATED BY PRISM
 * Generated sections will be updated on `prism generate`.
 * Add custom code inside PRISM:PROTECTED regions to preserve it.
 */

import { type ReactElement } from 'react';
import { RouterProvider } from 'react-router-dom';
import { router } from './router';

// PRISM:PROTECTED:START - Custom Imports
// Add your custom context provider imports here:
// import { MyProvider } from './contexts/MyContext';
// PRISM:PROTECTED:END

export default function App(): ReactElement {
  return (
    <>
      {/* PRISM:PROTECTED:START - Custom Providers */}
      {/* Wrap RouterProvider with your custom providers here */}
      {/* PRISM:PROTECTED:END */}
      <RouterProvider router={router} />
    </>
  );
}
