Use ES6 style import
This commit is contained in:
parent
2e6fb1f956
commit
50ad80ad86
1 changed files with 1 additions and 3 deletions
|
@ -14,9 +14,7 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const React = require('react');
|
||||
import React from 'react';
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: 'MessageSpinner',
|
||||
|
|
Loading…
Reference in a new issue