import React from 'react'; import { Panel } from 'rsuite'; import { useAuth } from '../helpers/authContext'; import { NavBar } from '../components'; export default function Dashboard() { const { authToken, isAuthenticated, currentUser } = useAuth(); return ( <> Dashboard} bordered> This is just experimenting with stuff. {authToken} Authenticated: {isAuthenticated.toString()} Current user: {currentUser.username} > ); }
This is just experimenting with stuff.
{authToken}
Authenticated: {isAuthenticated.toString()}
Current user: {currentUser.username}