mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-02-06 21:50:07 +00:00
feat: new tooltip
This commit is contained in:
29
src/main.tsx
29
src/main.tsx
@@ -11,6 +11,7 @@ import { MotionProvider } from "./components/motion/motion-provider";
|
||||
import { WebSocketProvider } from "./context/websocket-provider";
|
||||
import { StatusProvider } from "./context/status-provider";
|
||||
import { FilterProvider } from "./context/network-filter-context";
|
||||
import { TooltipProvider } from "./context/tooltip-provider";
|
||||
|
||||
const queryClient = new QueryClient();
|
||||
|
||||
@@ -22,19 +23,21 @@ ReactDOM.createRoot(document.getElementById("root")!).render(
|
||||
<WebSocketProvider url="/api/v1/ws/server">
|
||||
<StatusProvider>
|
||||
<FilterProvider>
|
||||
<App />
|
||||
<Toaster
|
||||
duration={1000}
|
||||
toastOptions={{
|
||||
classNames: {
|
||||
default:
|
||||
"w-fit rounded-full px-2.5 py-1.5 bg-neutral-100 border border-neutral-200 backdrop-blur-xl shadow-none",
|
||||
},
|
||||
}}
|
||||
position="top-center"
|
||||
className={"flex items-center justify-center"}
|
||||
/>
|
||||
<ReactQueryDevtools />
|
||||
<TooltipProvider>
|
||||
<App />
|
||||
<Toaster
|
||||
duration={1000}
|
||||
toastOptions={{
|
||||
classNames: {
|
||||
default:
|
||||
"w-fit rounded-full px-2.5 py-1.5 bg-neutral-100 border border-neutral-200 backdrop-blur-xl shadow-none",
|
||||
},
|
||||
}}
|
||||
position="top-center"
|
||||
className={"flex items-center justify-center"}
|
||||
/>
|
||||
<ReactQueryDevtools />
|
||||
</TooltipProvider>
|
||||
</FilterProvider>
|
||||
</StatusProvider>
|
||||
</WebSocketProvider>
|
||||
|
||||
Reference in New Issue
Block a user