We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f99bc66 commit f4feb9cCopy full SHA for f4feb9c
1 file changed
src/components/image.tsx
@@ -32,7 +32,7 @@ export const Image: React.FC<Props> = ({
32
33
return (
34
<img
35
- src={`${process.env.BASE_PATH ? process.env.BASE_PATH : "/"}${src}`}
+ src={process.env.BASE_PATH}
36
alt={alt}
37
sx={{ width: finalWidth, height: finalHeight, objectFit }}
38
className={className}
0 commit comments