Skip to content
Snippets Groups Projects
Commit 65dd6bc6 authored by GyDi's avatar GyDi
Browse files

chore: init connections page

parent da41ac5b
No related branches found
No related tags found
No related merge requests found
import { useEffect } from "react";
import { Box, Typography } from "@mui/material";
import services from "../services";
const ConnectionsPage = () => {
return <h1>Connection</h1>;
useEffect(() => {
const sourcePromise = services.getLogs(console.log);
return () => {
sourcePromise.then((src) => src.cancel());
};
}, []);
return (
<Box sx={{ width: 0.9, maxWidth: "850px", mx: "auto", mb: 2 }}>
<Typography variant="h4" component="h1" sx={{ py: 2 }}>
Connections
</Typography>
</Box>
);
};
export default ConnectionsPage;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment