PaulPatterson48 / INDIVIDUAL-ASSIGNMENT-Team-Roster

0 stars 0 forks source link

Must toggle the SignIn SignOut at the beginning of the page #2

Open PaulPatterson48 opened 12 months ago

PaulPatterson48 commented 12 months ago

User Story

GIVEN: As a user, who is logged out, I should only be able to see the authentication screen

Acceptance Criteria

Must toggle the Sign in and SignOut

In the navbar create a signout imported from the auth.js

Dependecies

Auth.js make sure you set that up and verify it is working Right now we can see the login screen

Dev Notes

import { signOut } from '../utils/auth';

        <Button type="button" className="btn-danger" onClick={signOut}>
          Sign Out
        </Button>