import React, {useContext} from 'react'; import {Navbar, Nav} from 'react-bootstrap'; import {Link} from 'found'; import {UserContext} from '../../context/User'; interface Props { children?: React.ReactNode; } function ApplicationLayout({children}: Props): React.ReactElement { const {user} = useContext(UserContext); return (
{children} { user ? (

Logout

) : ( <>

Signin

Signup

) }

Show me the pokemon!

Create a pokemon!

); } export default ApplicationLayout;