Skip to content

Commit a47944c

Browse files
committed
SALG-1278: Remove unused const
1 parent 694d53b commit a47944c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/components/points-of-interest/PointOfInterest.jsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ function PointOfInterest({
8787
}
8888
}, []);
8989

90-
9190
return (
9291
<div className="flex items-start gap-4 p-4">
9392
<Image src={image} className="w-24 h-24 rounded-full" />
@@ -113,7 +112,7 @@ function PointOfInterest({
113112
type="button"
114113
onClick={() => setSource(podcast)}
115114
>
116-
<CirclePlay className="w-6"/>
115+
<CirclePlay className="w-6" />
117116
<span className="sr-only">Afspil</span>
118117
</button>
119118
)}
@@ -125,14 +124,18 @@ function PointOfInterest({
125124
>
126125
{viewSubtitles ? (
127126
<Xmark className="h-6 w-6 text-zinc-800" />
128-
) : (
127+
) : (
129128
<ClosedCap className="h-6 w-6 text-zinc-800" />
130129
)}
131130
<span className="sr-only">Se tekst</span>
132131
</button>
133132
)}
134133
</div>
135-
{viewSubtitles && <div className="bg-zinc-200 text-zinc-800 dark:bg-zinc-500 dark:text-white p-2 rounded mt-2">{subtitles}</div>}
134+
{viewSubtitles && (
135+
<div className="bg-zinc-200 text-zinc-800 dark:bg-zinc-500 dark:text-white p-2 rounded mt-2">
136+
{subtitles}
137+
</div>
138+
)}
136139
{!unlocked && <div>Lås op ved at gå tættere på</div>}
137140
</div>
138141
</div>

0 commit comments

Comments
 (0)