Open PaulPatterson48 opened 12 months ago
GIVEN: As a user, who is logged out, I should only be able to see the authentication screen
Must toggle the Sign in and SignOut
In the navbar create a signout imported from the auth.js
Auth.js make sure you set that up and verify it is working Right now we can see the login screen
import { signOut } from '../utils/auth';
<Button type="button" className="btn-danger" onClick={signOut}> Sign Out </Button>
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';