chore: called script format and eslint-fix
This commit is contained in:
parent
1a63c11b62
commit
0ab82d22f5
|
@ -1,6 +1,6 @@
|
|||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import "./style/main.less";
|
||||
import './style/main.less';
|
||||
|
||||
/*
|
||||
*component Welcome
|
||||
|
@ -8,8 +8,8 @@ import "./style/main.less";
|
|||
*Webpack needs Babel to process ES6 into ES5 syntaxes in order for this class to work
|
||||
*/
|
||||
class Welcome extends React.Component {
|
||||
render() {
|
||||
return <h1>react-config-tutorial</h1>;
|
||||
}
|
||||
render () {
|
||||
return <h1>react-config-tutorial</h1>;
|
||||
}
|
||||
}
|
||||
ReactDOM.render(<Welcome />, document.getElementById('root'));
|
||||
|
|
Loading…
Reference in New Issue