File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
src/components/points-of-interest Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ function PointOfInterest({
87
87
}
88
88
} , [ ] ) ;
89
89
90
-
91
90
return (
92
91
< div className = "flex items-start gap-4 p-4" >
93
92
< Image src = { image } className = "w-24 h-24 rounded-full" />
@@ -113,7 +112,7 @@ function PointOfInterest({
113
112
type = "button"
114
113
onClick = { ( ) => setSource ( podcast ) }
115
114
>
116
- < CirclePlay className = "w-6" />
115
+ < CirclePlay className = "w-6" />
117
116
< span className = "sr-only" > Afspil</ span >
118
117
</ button >
119
118
) }
@@ -125,14 +124,18 @@ function PointOfInterest({
125
124
>
126
125
{ viewSubtitles ? (
127
126
< Xmark className = "h-6 w-6 text-zinc-800" />
128
- ) : (
127
+ ) : (
129
128
< ClosedCap className = "h-6 w-6 text-zinc-800" />
130
129
) }
131
130
< span className = "sr-only" > Se tekst</ span >
132
131
</ button >
133
132
) }
134
133
</ 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
+ ) }
136
139
{ ! unlocked && < div > Lås op ved at gå tættere på</ div > }
137
140
</ div >
138
141
</ div >
You can’t perform that action at this time.
0 commit comments