mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-09 10:46:52 +02:00
chore: placeholder image
This commit is contained in:
committed by
Kamran Ahmed
parent
47d5716238
commit
4d3ebb0ac6
@@ -121,9 +121,9 @@ export default function UploadProfilePicture({
|
|||||||
<img
|
<img
|
||||||
className="absolute inset-0 h-full w-full object-cover"
|
className="absolute inset-0 h-full w-full object-cover"
|
||||||
src={
|
src={
|
||||||
file?.preview ??
|
file?.preview ||
|
||||||
user.image ??
|
user.image ||
|
||||||
'https://d22sqt16nof9dt.cloudfront.net/1683071715132-1x3.jpeg'
|
'https://d22sqt16nof9dt.cloudfront.net/placeholder.png'
|
||||||
}
|
}
|
||||||
alt={file?.name ?? 'Profile picture'}
|
alt={file?.name ?? 'Profile picture'}
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
|
Reference in New Issue
Block a user