import { DragAndDropProvider } from "@/contexts/DragAndDropContext";
import { UrdfProvider } from "@/contexts/UrdfContext";
import { Toaster } from "@/components/ui/toaster";
import { Toaster as Sonner } from "@/components/ui/sonner";
import { TooltipProvider } from "@/components/ui/tooltip";
import UrdfView from "@/pages/UrdfView";
import "@/App.css";

function App() {
  return (
    <TooltipProvider>
      <UrdfProvider>
        <DragAndDropProvider>
          <Toaster />
          <Sonner />
          <UrdfView />
        </DragAndDropProvider>
      </UrdfProvider>
    </TooltipProvider>
  );
}

export default App;
