feat(web): sprint1 ui core with global toasts and improved chat layout
Some checks failed
CI / test (push) Failing after 19s

This commit is contained in:
2026-03-08 10:35:21 +03:00
parent 1119cc65b8
commit a77516cfea
6 changed files with 81 additions and 32 deletions

View File

@@ -1,4 +1,5 @@
import { useEffect } from "react";
import { ToastViewport } from "../components/ToastViewport";
import { AuthPage } from "../pages/AuthPage";
import { ChatsPage } from "../pages/ChatsPage";
import { useAuthStore } from "../store/authStore";
@@ -27,5 +28,10 @@ export function App() {
if (!accessToken || !me) {
return <AuthPage />;
}
return <ChatsPage />;
return (
<>
<ChatsPage />
<ToastViewport />
</>
);
}