@@ -111,68 +112,66 @@ export default class GithubRepo extends Component {
);
- }
- const directories = this.state.directories.map(item => (
-
- ));
- const files = this.state.files.map(item => (
- {this.state.content}
-
- {item.name}
-
-
- ));
- let readme = '';
- if (this.state.readme) {
- readme = (
-
- );
- }
- if (this.state.root) {
- return (
-
-
-
- {directories}
- {files}
-
- {readme}
+ }
+ const directories = this.state.directories.map(item => (
+
+ ));
+ const files = this.state.files.map(item => (
+
+
+ {item.name}
+
+
+ ));
+ let readme = '';
+ if (this.state.readme) {
+ readme = (
+
+ );
+ }
+ if (this.state.root) {
+ return (
+