Skip to content

Commit 0c542be

Browse files
Lint fix
1 parent 85f7cb2 commit 0c542be

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

frontend/src/components/Media/MediaInfoPanel.tsx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,8 @@ export const MediaInfoPanel: React.FC<MediaInfoPanelProps> = ({
6565
initial={{ opacity: 0, x: -20 }}
6666
animate={{ opacity: 1, x: 0 }}
6767
exit={{ opacity: 0, x: -20 }}
68-
transition={{ type: "spring", stiffness: 260, damping: 25 }}
69-
className="absolute top-10 left-6 z-50 w-[350px] rounded-xl
70-
border border-white/10 bg-black/60 p-6 shadow-xl
71-
backdrop-blur-lg"
68+
transition={{ type: 'spring', stiffness: 260, damping: 25 }}
69+
className="absolute top-10 left-6 z-50 w-[350px] rounded-xl border border-white/10 bg-black/60 p-6 shadow-xl backdrop-blur-lg"
7270
>
7371
<div className="mb-4 flex items-center justify-between border-b border-white/10 pb-3">
7472
<h3 className="text-xl font-medium text-white">Image Details</h3>
@@ -88,7 +86,10 @@ export const MediaInfoPanel: React.FC<MediaInfoPanelProps> = ({
8886
</div>
8987
<div className="min-w-0 flex-1">
9088
<p className="text-xs text-white/50">Name</p>
91-
<p className="truncate font-medium text-white" title={getImageName()}>
89+
<p
90+
className="truncate font-medium text-white"
91+
title={getImageName()}
92+
>
9293
{getImageName()}
9394
</p>
9495
</div>
@@ -121,7 +122,9 @@ export const MediaInfoPanel: React.FC<MediaInfoPanelProps> = ({
121122
<SquareArrowOutUpRight className="ml-1 h-[14px] w-[14px]" />
122123
</button>
123124
) : (
124-
<p className="font-medium text-white">Location not available</p>
125+
<p className="font-medium text-white">
126+
Location not available
127+
</p>
125128
)}
126129
</div>
127130
</div>

0 commit comments

Comments
 (0)