Files
stackpilot/frontend/src/main.tsx
T
menzeljandClaude Sonnet 5 9d28e12cd7
CI / build-and-push (push) Successful in 1m54s
Add persistent action status banner and fix stacked toast overlap
Stack actions (start/stop/pull/update/…) now surface a dismissible
status banner on the stack detail page instead of relying on the
transient top-right toast alone. Also enable toast expand mode so
multiple notifications no longer collapse behind each other.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016pMmFFkdfxkoYjcEcpZTa5
2026-08-30 20:04:10 +02:00

20 lines
627 B
TypeScript

import React from "react";
import ReactDOM from "react-dom/client";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { Toaster } from "sonner";
import App from "./App";
import "./index.css";
const queryClient = new QueryClient({
defaultOptions: { queries: { retry: 1, refetchOnWindowFocus: false } },
});
ReactDOM.createRoot(document.getElementById("root")!).render(
<React.StrictMode>
<QueryClientProvider client={queryClient}>
<App />
<Toaster position="top-right" richColors theme="system" expand visibleToasts={5} />
</QueryClientProvider>
</React.StrictMode>
);