import { Box, makeStyles, Typography } from "@material-ui/core"; import PlayArrowIcon from "@material-ui/icons/PlayArrow"; import StopIcon from "@material-ui/icons/Stop"; import PromiseInvokeButton from "renderer/components/PromiseInvokeButton"; import { useAppSelector } from "store/hooks"; import InfoBox from "../../modal/swap/InfoBox"; import CliLogsBox from "../../other/RenderedCliLog"; const useStyles = makeStyles((theme) => ({ actionsOuter: { display: "flex", gap: theme.spacing(1), }, })); export default function TorInfoBox() { const isTorRunning = useAppSelector((state) => state.tor.processRunning); const torStdOut = useAppSelector((s) => s.tor.stdOut); const classes = useStyles(); return ( Tor is a network that allows you to anonymously connect to the internet. It is a free and open network that is operated by volunteers. You can start and stop Tor by clicking the buttons below. If Tor is running, all traffic will be routed through it and the maker will not be able to see your IP address. } additionalContent={ } onInvoke={() => { throw new Error("Not implemented"); }} > Start Tor } onInvoke={() => { throw new Error("Not implemented"); }} > Stop Tor } icon={null} loading={false} /> ); }