Skip to content

Commit cb4ee1e

Browse files
committed
Hotfix: webinar registration links
Correct URL variable name
1 parent ffbe3ed commit cb4ee1e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openstax/os-webview",
3-
"version": "2.72.0",
3+
"version": "2.72.1",
44
"description": "OpenStax webview",
55
"scripts": {
66
"test": "jest ./test/src"

src/app/pages/webinars/webinar-list/webinar-list.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function WebinarBox({entry, upcoming}) {
6262
</div>
6363
</div>
6464
}
65-
<a href={entry.url}>
65+
<a href={entry.registrationUrl}>
6666
{entry.registrationLinkText}{' '}
6767
<FontAwesomeIcon icon="chevron-right" />
6868
</a>
@@ -75,7 +75,7 @@ export default function WebinarList({data, upcoming=false}) {
7575
<div className="webinar-list">
7676
{
7777
data.map((entry) =>
78-
<WebinarBox entry={entry} key={entry.url} upcoming={upcoming} />
78+
<WebinarBox entry={entry} key={entry.registrationUrl} upcoming={upcoming} />
7979
)
8080
}
8181
</div>

0 commit comments

Comments
 (0)