diff options
author | 2018-03-01 11:06:19 +0100 | |
---|---|---|
committer | 2018-03-01 11:06:19 +0100 | |
commit | 41ce9d8608d97fc60ea0f7892873f56b703a5e50 (patch) | |
tree | 8378c89af1135ebb223b7fd801d76a57163ab965 | |
parent | ADD Franz-wide internationalization (diff) | |
download | ferdium-app-41ce9d8608d97fc60ea0f7892873f56b703a5e50.tar.gz ferdium-app-41ce9d8608d97fc60ea0f7892873f56b703a5e50.tar.zst ferdium-app-41ce9d8608d97fc60ea0f7892873f56b703a5e50.zip |
fix linting errors
-rw-r--r-- | src/I18n.js | 1 | ||||
-rw-r--r-- | src/lib/Menu.js | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/I18n.js b/src/I18n.js index 5ba7c8c7e..4ee34157c 100644 --- a/src/I18n.js +++ b/src/I18n.js | |||
@@ -9,7 +9,6 @@ import UserStore from './stores/UserStore'; | |||
9 | 9 | ||
10 | @inject('stores') @observer | 10 | @inject('stores') @observer |
11 | export default class I18N extends Component { | 11 | export default class I18N extends Component { |
12 | |||
13 | componentDidUpdate() { | 12 | componentDidUpdate() { |
14 | window.franz.menu.rebuild(); | 13 | window.franz.menu.rebuild(); |
15 | } | 14 | } |
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index d94064ada..6962f22fe 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -1,5 +1,5 @@ | |||
1 | import { remote, shell } from 'electron'; | 1 | import { remote, shell } from 'electron'; |
2 | import { autorun, computed, observable, toJS } from 'mobx'; | 2 | import { autorun, computed } from 'mobx'; |
3 | import { defineMessages } from 'react-intl'; | 3 | import { defineMessages } from 'react-intl'; |
4 | 4 | ||
5 | import { isMac } from '../environment'; | 5 | import { isMac } from '../environment'; |
@@ -9,7 +9,7 @@ const { app, Menu, dialog } = remote; | |||
9 | const menuItems = defineMessages({ | 9 | const menuItems = defineMessages({ |
10 | edit: { | 10 | edit: { |
11 | id: 'menu.edit', | 11 | id: 'menu.edit', |
12 | defaultMessage: '!!!Edit', | 12 | defaultMessage: '!!!Edit', |
13 | }, | 13 | }, |
14 | }); | 14 | }); |
15 | 15 | ||