import { CopyBlock, dracula } from "react-code-blocks"; import { Link } from "react-router-dom"; import { useAuthContext } from "../context/auth_context"; export const Home = () => { const { player, signedIn } = useAuthContext(); if (signedIn) { const sshConfig = `Host chessh Hostname ${process.env.REACT_APP_SSH_SERVER} Port ${process.env.REACT_APP_SSH_PORT} User ${player?.username} PubkeyAuthentication yes`; return ( <>
Looks like you're not signed in 👀.
> ); };