[fix] Add href to dates link on coming soon alert (#535)

This commit is contained in:
Thomas Tracy
2021-07-12 13:33:34 -04:00
committed by GitHub
parent f21dad95b5
commit e423dddb03

View File

@@ -25,11 +25,12 @@ function ScheduledContentAlert({ payload }) {
</div>
<div className="flex-grow-0 pt-3 pt-lg-0">
{datesTabLink && (
<Button>
<Button
href={datesTabLink}
>
<FormattedMessage
id="learning.outline.alert.scheduled-content.button"
defaultMessage="View Course Schedule"
href={datesTabLink}
/>
</Button>
)}