diff --git a/frontend/index.html b/frontend/index.html index f1f149a..3066105 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,7 +4,6 @@ - Hermes
diff --git a/frontend/src/MakerApp.tsx b/frontend/src/MakerApp.tsx index ecc2e0e..f417b7b 100644 --- a/frontend/src/MakerApp.tsx +++ b/frontend/src/MakerApp.tsx @@ -31,6 +31,8 @@ import { CfdSellOrderPayload, postCfdSellOrderRequest } from "./MakerClient"; const SPREAD = 1.01; export default function App() { + document.title = "Hermes Maker"; + let source = useEventSource({ source: "/api/feed", options: { withCredentials: true } }); const cfdsOrUndefined = useLatestEvent(source, "cfds", intoCfd); diff --git a/frontend/src/TakerApp.tsx b/frontend/src/TakerApp.tsx index 303ae8d..e5ae509 100644 --- a/frontend/src/TakerApp.tsx +++ b/frontend/src/TakerApp.tsx @@ -58,6 +58,8 @@ async function getMargin(payload: MarginRequestPayload): Promise } export default function App() { + document.title = "Hermes Taker"; + let source = useEventSource({ source: "/api/feed" }); const cfdsOrUndefined = useLatestEvent(source, "cfds", intoCfd);