fix
This commit is contained in:
parent
75c6557a6c
commit
e34d2dd5e3
|
|
@ -28,7 +28,7 @@ const ProjectImage: React.FC<ProjectImageProps> = ({ imagePath, alt, className }
|
|||
|
||||
try {
|
||||
const dataUrl = convertFileSrc(imagePath)
|
||||
console.log({ dataUrl })
|
||||
console.log({ dataUrl, imagePath })
|
||||
setImageSrc(dataUrl)
|
||||
} catch (error) {
|
||||
console.error('Failed to read image:', error)
|
||||
|
|
|
|||
Loading…
Reference in New Issue