import { createBrowserRouter } from 'react-router';
import { RouterProvider } from 'react-router/dom';
import { Chat } from '@/pages/chat';

const router = createBrowserRouter([
  {
    path: '/',
    element: <Chat />,
  },
]);

export const ReactRouterProvider = () => {
  return <RouterProvider router={router} />;
};
