diff options
author | 2019-08-22 21:40:07 +0200 | |
---|---|---|
committer | 2019-08-22 21:40:07 +0200 | |
commit | 30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f (patch) | |
tree | 41dde64402f6a5ff93796ff5c541bf4dcf766542 /src/features/announcements/components/AnnouncementScreen.js | |
parent | Re-adding package-lock (diff) | |
download | ferdium-app-30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f.tar.gz ferdium-app-30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f.tar.zst ferdium-app-30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f.zip |
Fix eslint errors
Diffstat (limited to 'src/features/announcements/components/AnnouncementScreen.js')
-rw-r--r-- | src/features/announcements/components/AnnouncementScreen.js | 2 |
1 files changed, 0 insertions, 2 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 | /> |