Commit 18b37cea authored by Keith Charlene Tan Esmena's avatar Keith Charlene Tan Esmena
Browse files

(#1) Put Issue in IssueView

parent 2ba3a3dd
......@@ -20,11 +20,8 @@ function App() {
<header className="App-header">
<h1>Gitlab statistikk</h1>
</header>
<h3>Issues</h3>
<IssueView>
<Issue />
</IssueView>
<IssueView />
<section>
<h3>Commits</h3>
<p>Legg inn det under her :)</p>
......
import React, { Component } from "react";
import Issue from "./Issue";
class IssueView extends React.Component<{}> {
render() {
return (
<>
<div id="issueBox">{this.props.children}</div>
<div className="issues">
<h3>Issues</h3>
<h3>Issues</h3>
<div id="issueBox">
{/* Må ha dette hvis Issue skal inni en IssueBox i App: {this.props.children} */}
<Issue></Issue>
</div>
</>
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment