diff options
Diffstat (limited to 'src/features/announcements')
-rw-r--r-- | src/features/announcements/components/AnnouncementScreen.js | 2 | ||||
-rw-r--r-- | src/features/announcements/store.js | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/features/announcements/components/AnnouncementScreen.js b/src/features/announcements/components/AnnouncementScreen.js index eb157555f..38de2dbc8 100644 --- a/src/features/announcements/components/AnnouncementScreen.js +++ b/src/features/announcements/components/AnnouncementScreen.js | |||
@@ -227,7 +227,6 @@ class AnnouncementScreen extends Component { | |||
227 | <Button | 227 | <Button |
228 | label={announcement.main.cta.label} | 228 | label={announcement.main.cta.label} |
229 | onClick={() => { | 229 | onClick={() => { |
230 | const { analytics } = announcement.main.cta; | ||
231 | window.location.href = `#${announcement.main.cta.href}`; | 230 | window.location.href = `#${announcement.main.cta.href}`; |
232 | }} | 231 | }} |
233 | /> | 232 | /> |
@@ -251,7 +250,6 @@ class AnnouncementScreen extends Component { | |||
251 | <Button | 250 | <Button |
252 | label={announcement.spotlight.cta.label} | 251 | label={announcement.spotlight.cta.label} |
253 | onClick={() => { | 252 | onClick={() => { |
254 | const { analytics } = announcement.spotlight.cta; | ||
255 | window.location.href = `#${announcement.spotlight.cta.href}`; | 253 | window.location.href = `#${announcement.spotlight.cta.href}`; |
256 | }} | 254 | }} |
257 | /> | 255 | /> |
diff --git a/src/features/announcements/store.js b/src/features/announcements/store.js index 515fd97a0..2884fb06f 100644 --- a/src/features/announcements/store.js +++ b/src/features/announcements/store.js | |||
@@ -7,7 +7,7 @@ import semver from 'semver'; | |||
7 | import localStorage from 'mobx-localstorage'; | 7 | import localStorage from 'mobx-localstorage'; |
8 | 8 | ||
9 | import { FeatureStore } from '../utils/FeatureStore'; | 9 | import { FeatureStore } from '../utils/FeatureStore'; |
10 | import { ANNOUNCEMENTS_ROUTES, GA_CATEGORY_ANNOUNCEMENTS } from '.'; | 10 | import { ANNOUNCEMENTS_ROUTES } from '.'; |
11 | import { getAnnouncementRequest, getChangelogRequest, getCurrentVersionRequest } from './api'; | 11 | import { getAnnouncementRequest, getChangelogRequest, getCurrentVersionRequest } from './api'; |
12 | import { announcementActions } from './actions'; | 12 | import { announcementActions } from './actions'; |
13 | import { createActionBindings } from '../utils/ActionBinding'; | 13 | import { createActionBindings } from '../utils/ActionBinding'; |