Skip to content

Commit 75a10cf

Browse files
committed
Open events in new tab
1 parent 70c27bd commit 75a10cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/events.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function EventCard({ e, className, now, serverTimezone, hoverClass = "" }: { e:
169169

170170
</div>
171171
</div>
172-
return e.link ? <FormattedLink href={e.link} className="font-normal">{child}</FormattedLink> : child
172+
return e.link ? <FormattedLink href={e.link} target={"htb-event"} className="font-normal">{child}</FormattedLink> : child
173173
}
174174

175175
function getStartTime(event: GenshinEvent, serverTimezone: string) {

0 commit comments

Comments
 (0)