Open PaulPatterson48 opened 12 months ago
GIVEN: As a user who is logged in, I should be able to see a log out button
add the log out button to the nav bar
navBar.js auth.js
import { signOut } from '../utils/auth';
NavBar.propTypes = { user: PropTypes.shape({ displayName: PropTypes.string, photoURL: PropTypes.string, }).isRequired, };
User Story
GIVEN: As a user who is logged in, I should be able to see a log out button
Acceptance Criteria
add the log out button to the nav bar
Dependecies
navBar.js auth.js
Dev Notes
import { signOut } from '../utils/auth';
NavBar.propTypes = { user: PropTypes.shape({ displayName: PropTypes.string, photoURL: PropTypes.string, }).isRequired, };