-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task/slm 10 #13
base: main
Are you sure you want to change the base?
Task/slm 10 #13
Conversation
|
||
return ( | ||
<div style={{marginTop: '8rem', marginBottom: '5rem' ,display: 'flex', flexDirection: 'column', alignItems: 'center'}}> | ||
<Image style={{width: '30%', minWidth: '280px' }} src={displaiedUserDetails.photo.url}/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
displayedUserDetails typo and in subsequent lines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops..
); | ||
|
||
//Import default image | ||
import testImage from '../../../Assets/SalamLogo.jpeg'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If test Image is the "fallback image or alt image can we rename it to be clearer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thought I changed it.
} | ||
}, []) | ||
|
||
console.log(displaiedUserDetails); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could also remove the console log 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
No description provided.