diff options
author | Amine Mouafik <amine@mouafik.fr> | 2020-02-22 03:24:14 +0100 |
---|---|---|
committer | Amine Mouafik <amine@mouafik.fr> | 2020-02-22 03:24:14 +0100 |
commit | 5b0af7342a0a04d18abd8d5f885f9cb7941cc471 (patch) | |
tree | dfca99d299be2ff552ec13440c71b9a768a6738b | |
parent | Merge pull request #392 from getferdi/l10n_develop (diff) | |
download | ferdium-app-5b0af7342a0a04d18abd8d5f885f9cb7941cc471.tar.gz ferdium-app-5b0af7342a0a04d18abd8d5f885f9cb7941cc471.tar.zst ferdium-app-5b0af7342a0a04d18abd8d5f885f9cb7941cc471.zip |
Fix warning about missing actions in PublishDebugLogModal
-rw-r--r-- | src/features/publishDebugInfo/Component.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/features/publishDebugInfo/Component.js b/src/features/publishDebugInfo/Component.js index be90a1f99..1f1b0ed45 100644 --- a/src/features/publishDebugInfo/Component.js +++ b/src/features/publishDebugInfo/Component.js | |||
@@ -1,17 +1,17 @@ | |||
1 | import React, { Component } from 'react'; | 1 | import { H1 } from '@meetfranz/ui'; |
2 | import { inject, observer } from 'mobx-react'; | ||
2 | import PropTypes from 'prop-types'; | 3 | import PropTypes from 'prop-types'; |
3 | import { observer, inject } from 'mobx-react'; | 4 | import React, { Component } from 'react'; |
4 | import { defineMessages, intlShape } from 'react-intl'; | 5 | import { defineMessages, intlShape } from 'react-intl'; |
5 | import { H1 } from '@meetfranz/ui'; | ||
6 | import injectSheet from 'react-jss'; | 6 | import injectSheet from 'react-jss'; |
7 | 7 | import { state as ModalState } from '.'; | |
8 | import Input from '../../components/ui/Input'; | 8 | import { sendAuthRequest } from '../../api/utils/auth'; |
9 | import Button from '../../components/ui/Button'; | 9 | import Button from '../../components/ui/Button'; |
10 | import Input from '../../components/ui/Input'; | ||
10 | import Modal from '../../components/ui/Modal'; | 11 | import Modal from '../../components/ui/Modal'; |
11 | import { state as ModalState } from '.'; | ||
12 | import AppStore from '../../stores/AppStore'; | ||
13 | import { DEBUG_API } from '../../config'; | 12 | import { DEBUG_API } from '../../config'; |
14 | import { sendAuthRequest } from '../../api/utils/auth'; | 13 | import AppStore from '../../stores/AppStore'; |
14 | |||
15 | 15 | ||
16 | const messages = defineMessages({ | 16 | const messages = defineMessages({ |
17 | title: { | 17 | title: { |
@@ -79,7 +79,7 @@ const styles = theme => ({ | |||
79 | }, | 79 | }, |
80 | }); | 80 | }); |
81 | 81 | ||
82 | export default @injectSheet(styles) @inject('stores') @observer class PublishDebugLogModal extends Component { | 82 | export default @injectSheet(styles) @inject('stores', 'actions') @observer class PublishDebugLogModal extends Component { |
83 | static propTypes = { | 83 | static propTypes = { |
84 | classes: PropTypes.object.isRequired, | 84 | classes: PropTypes.object.isRequired, |
85 | }; | 85 | }; |