diff options
author | 2021-11-18 17:37:45 +0100 | |
---|---|---|
committer | 2021-11-18 22:07:45 +0530 | |
commit | b37a6b07b39c8c7827052dc6fb97f490f1e0f514 (patch) | |
tree | 0276e7c51f5ebfa14c566def7aac39f014c2291d /src/features/publishDebugInfo/index.js | |
parent | Update github issues template [skip ci] (diff) | |
download | ferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.tar.gz ferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.tar.zst ferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.zip |
chore: convert various files to TS (#2246)
* convert various files to TS
* removed outdated docs/example-feature folder
* turn off unicorn/no-empty-file
* update eslint config
Diffstat (limited to 'src/features/publishDebugInfo/index.js')
-rw-r--r-- | src/features/publishDebugInfo/index.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/features/publishDebugInfo/index.js b/src/features/publishDebugInfo/index.js deleted file mode 100644 index 43841b530..000000000 --- a/src/features/publishDebugInfo/index.js +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | import { state as ModalState } from './store'; | ||
2 | |||
3 | export { default as Component } from './Component'; | ||
4 | |||
5 | const state = ModalState; | ||
6 | const debug = require('debug')('Ferdi:feature:publishDebugInfo'); | ||
7 | |||
8 | export default function initialize() { | ||
9 | debug('Initialize publishDebugInfo feature'); | ||
10 | |||
11 | function showModal() { | ||
12 | state.isModalVisible = true; | ||
13 | } | ||
14 | |||
15 | window['ferdi'].features.publishDebugInfo = { | ||
16 | state, | ||
17 | showModal, | ||
18 | }; | ||
19 | } | ||