feature: correct redirect and action while clicking the button

This commit is contained in:
kKaskak 2023-12-14 15:18:05 +01:00
parent 9594efbb0e
commit 4153c9b003

View file

@ -36,7 +36,7 @@ const SeasonalNotification = () => {
</div>
{
notificationModalData.addon.manifestUrl ?
<Button className={styles['action-button']} href={notificationModalData.addon.manifestUrl}>
<Button className={styles['action-button']} href={`#/addons?addon=${encodeURIComponent(notificationModalData.addon.manifestUrl)}`} onClick={closeNotificationModal}>
<div className={styles['button-label']}>Learn more</div>
</Button>
: