import { QueryClientProvider } from "@tanstack/react-query";
import { queryClient } from "@xtablo/shared";
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { App } from "./App";

import "./lib/rum";

import "./i18n";
import "stream-chat-react/dist/css/v2/index.css";
import "@xtablo/ui/styles/globals.css";
import "./main.css";

createRoot(document.getElementById("root")!).render(
  <StrictMode>
    <QueryClientProvider client={queryClient}>
      <App />
    </QueryClientProvider>
  </StrictMode>
);
