mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-10-29 13:11:10 +08:00
removed trailing spaves from component generator
This commit is contained in:
1 parent
c422be2253
commit
3720ea9121
1 file changed
+2
-2
@@ -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