{currentIndexVal > 0 && (
)}
-

{
- console.error('Image load error:', e);
- (e.target as HTMLImageElement).style.display = 'none';
+
+ `translate3d(${xValue}px, ${yValue}px, 0) scale(${scaleValue})`
+ ),
}}
- />
+ >
+
{
+ console.error('Image load error:', e);
+ (e.target as HTMLImageElement).style.display = 'none';
+ }}
+ />
+
{currentIndexVal < currentPhotos.length - 1 && (