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