Add missing packages and update code to fix deprecated React.createClass calls

This commit is contained in:
Nathaniel van Diepen
2019-01-09 09:29:51 -07:00
parent 57016b06a6
commit 50fca3066c
9 changed files with 96 additions and 10 deletions

View File

@@ -1,6 +1,7 @@
/* global browser */
var React = require('react');
var reactCreateClass = require('create-react-class');
var ReactCSSTransitionGroup = require('react-addons-css-transition-group');
var config = require('../config');
@@ -15,7 +16,7 @@ var SitesList = require('./SitesList.jsx');
*
* @type {*|Function}
*/
var Options = React.createClass({
var Options = reactCreateClass({
getInitialState: function () {
return {