import React from "react"; // next js import Link from "next/link"; // hooks import useUser from "lib/hooks/useUser"; const DefaultTopBar: React.FC = () => { const { user } = useUser(); return (
Plane

Plane

{user && (

logged in as {user.first_name}

)}
); }; export default DefaultTopBar;