0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-10 11:22:40 +00:00

Updating to user create-react-class

This commit is contained in:
Scott Tolksdorf
2018-04-08 23:52:35 -04:00
parent c4bff6afa0
commit f18a181e2e
35 changed files with 77 additions and 42 deletions

View File

@@ -1,4 +1,5 @@
const React = require('react');
const createClass = require('create-react-class');
const _ = require('lodash');
const cx = require('classnames');
@@ -10,7 +11,7 @@ const MAX_URL_SIZE = 2083;
const MAIN_URL = 'https://www.reddit.com/r/UnearthedArcana/submit?selftext=true';
const RedditShare = React.createClass({
const RedditShare = createClass({
getDefaultProps : function() {
return {
brew : {