diff options
author | 2017-11-23 11:30:19 +0100 | |
---|---|---|
committer | 2017-11-23 11:30:19 +0100 | |
commit | 5573ab7e17400229dd5d79fa50808b38293872fc (patch) | |
tree | d1f933f081032a2bff4965033087f2ed2bfcecf9 /src/components/layout/Sidebar.js | |
parent | test tweetdeck glitches (diff) | |
download | ferdium-app-5573ab7e17400229dd5d79fa50808b38293872fc.tar.gz ferdium-app-5573ab7e17400229dd5d79fa50808b38293872fc.tar.zst ferdium-app-5573ab7e17400229dd5d79fa50808b38293872fc.zip |
Add SettingsModel and fix issue with improper mobx data handling
Diffstat (limited to 'src/components/layout/Sidebar.js')
-rw-r--r-- | src/components/layout/Sidebar.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/layout/Sidebar.js b/src/components/layout/Sidebar.js index ea34e8702..cb2ecc8ce 100644 --- a/src/components/layout/Sidebar.js +++ b/src/components/layout/Sidebar.js | |||
@@ -2,6 +2,7 @@ import React, { Component } from 'react'; | |||
2 | import PropTypes from 'prop-types'; | 2 | import PropTypes from 'prop-types'; |
3 | import ReactTooltip from 'react-tooltip'; | 3 | import ReactTooltip from 'react-tooltip'; |
4 | import { defineMessages, intlShape } from 'react-intl'; | 4 | import { defineMessages, intlShape } from 'react-intl'; |
5 | import { observer } from 'mobx-react'; | ||
5 | 6 | ||
6 | import Tabbar from '../services/tabs/Tabbar'; | 7 | import Tabbar from '../services/tabs/Tabbar'; |
7 | import { ctrlKey } from '../../environment'; | 8 | import { ctrlKey } from '../../environment'; |
@@ -25,6 +26,7 @@ const messages = defineMessages({ | |||
25 | }, | 26 | }, |
26 | }); | 27 | }); |
27 | 28 | ||
29 | @observer | ||
28 | export default class Sidebar extends Component { | 30 | export default class Sidebar extends Component { |
29 | static propTypes = { | 31 | static propTypes = { |
30 | openSettings: PropTypes.func.isRequired, | 32 | openSettings: PropTypes.func.isRequired, |