mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-09-07 16:50:47 +08:00
removed trailing spaves from component generator
This commit is contained in:
@@ -30,6 +30,6 @@ var <%= classedName %> = React.createClass({<% if(rich){%>
|
||||
}
|
||||
});
|
||||
|
||||
<% if (es6) { %>export default <%= classedName %>; <% }
|
||||
else { %>module.exports = <%= classedName %>; <% } %>
|
||||
<% if (es6) { %>export default <%= classedName %>;<% }
|
||||
else { %>module.exports = <%= classedName %>;<% } %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user