Put mdash in a fragment
This commit is contained in:
1 parent
8e1d37be93
commit
6fefef25c1
1 file changed
+1
-1
@@ -75,7 +75,7 @@ export const EventTemplate = ({
|
||||
<div className="event-time">
|
||||
{/* TODO: make the API stop assuming event duration is 2 hours when unspecified? */}
|
||||
kl. {moment(startTime).format('HH:mm')}
|
||||
{endTime && '—' + moment(endTime).format('HH:mm')}
|
||||
{endTime && <>—{moment(endTime).format('HH:mm')}</>}
|
||||
</div>
|
||||
<div className="price">
|
||||
Pris: {formatPrices(priceRegular, priceStudent)}
|
||||
|
||||
Reference in new issue
Block a user