Skip to content

Commit

Permalink
Merge pull request #10 from brandontor/workflow
Browse files Browse the repository at this point in the history
added additional functionality to sidebarframe
  • Loading branch information
brandontor authored Oct 31, 2021
2 parents d9ec4f7 + d3e1361 commit 01a481f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/SidebarFrame.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function SidebarFrame() {

return (
<div className={style.sideBarFrame}>
<Avatar src="/IMG-0750.jpg" style={avatarStyles}/>
{user == null ? undefined : <Avatar src={user.photoURL} style={avatarStyles}/>}
<div className={style.frameText}>
<h3 className={style.h3}>{
user == null ? undefined : user.displayName
Expand Down
2 changes: 1 addition & 1 deletion lib/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const googleProvider = new GoogleAuthProvider();
export const googleSignIn = async () => {
await signInWithPopup(auth, googleProvider)
.then((user) => {
console.log(user);
console.log(auth);
})
.catch((error) => {
console.error(error);
Expand Down

0 comments on commit 01a481f

Please sign in to comment.