diff options
author | 2021-06-23 20:39:18 +0530 | |
---|---|---|
committer | 2021-06-23 17:09:18 +0200 | |
commit | 4d26ffd4805c234e4b0592ae5aa9254e8c3206fd (patch) | |
tree | 6e1e9dd01f53677c40482e45cea3646e952750a9 /src/features/announcements/components | |
parent | Added new message when the user doesn't find a service (but that is present i... (diff) | |
download | ferdium-app-4d26ffd4805c234e4b0592ae5aa9254e8c3206fd.tar.gz ferdium-app-4d26ffd4805c234e4b0592ae5aa9254e8c3206fd.tar.zst ferdium-app-4d26ffd4805c234e4b0592ae5aa9254e8c3206fd.zip |
Upgraded eslint and fixed all the reported errors. (#1549)
Diffstat (limited to 'src/features/announcements/components')
-rw-r--r-- | src/features/announcements/components/AnnouncementScreen.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/features/announcements/components/AnnouncementScreen.js b/src/features/announcements/components/AnnouncementScreen.js index 2f25e7139..659cb4961 100644 --- a/src/features/announcements/components/AnnouncementScreen.js +++ b/src/features/announcements/components/AnnouncementScreen.js | |||
@@ -8,6 +8,7 @@ import { Button } from '@meetfranz/forms'; | |||
8 | 8 | ||
9 | import { announcementsStore } from '../index'; | 9 | import { announcementsStore } from '../index'; |
10 | import UIStore from '../../../stores/UIStore'; | 10 | import UIStore from '../../../stores/UIStore'; |
11 | import AppStore from '../../../stores/AppStore'; | ||
11 | 12 | ||
12 | const renderer = new marked.Renderer(); | 13 | const renderer = new marked.Renderer(); |
13 | 14 | ||
@@ -193,9 +194,7 @@ class AnnouncementScreen extends Component { | |||
193 | ui: PropTypes.instanceOf(UIStore).isRequired, | 194 | ui: PropTypes.instanceOf(UIStore).isRequired, |
194 | }).isRequired, | 195 | }).isRequired, |
195 | actions: PropTypes.shape({ | 196 | actions: PropTypes.shape({ |
196 | app: PropTypes.shape({ | 197 | app: PropTypes.instanceOf(AppStore).isRequired, |
197 | openExternalUrl: PropTypes.func.isRequired, | ||
198 | }).isRequired, | ||
199 | }).isRequired, | 198 | }).isRequired, |
200 | }; | 199 | }; |
201 | 200 | ||