modernize imports

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2017-06-15 19:57:48 +01:00
parent a0a4fe62d5
commit 4b34a2b169

View file

@ -14,13 +14,13 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
var React = require('react'); import React from 'react';
var ReactDOM = require("react-dom"); import ReactDOM from 'react-dom';
var dis = require("../../dispatcher"); import dis from "../../dispatcher";
var sdk = require('../../index'); import sdk from '../../index';
var MatrixClientPeg = require('../../MatrixClientPeg'); import MatrixClientPeg from '../../MatrixClientPeg';
const UserSettingsStore = require('../../UserSettingsStore'); import UserSettingsStore from '../../UserSettingsStore';
const MILLIS_IN_DAY = 86400000; const MILLIS_IN_DAY = 86400000;