You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-15 11:01:52 +03:00
Switch to createReactClass: views/rooms and test/components. React 16 :D
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
/* A dummy React component which we use for stubbing out app-level components
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
const React = require('react');
|
||||
import React from 'react';
|
||||
import createReactClass from 'create-react-class';
|
||||
|
||||
module.exports = function(opts) {
|
||||
opts = opts || {};
|
||||
@ -16,5 +16,5 @@ module.exports = function(opts) {
|
||||
};
|
||||
}
|
||||
|
||||
return React.createClass(opts);
|
||||
return createReactClass(opts);
|
||||
};
|
||||
|
Reference in New Issue
Block a user