summaryrefslogtreecommitdiffstats
path: root/webui/src/Components/Timeline/EndNode.js
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/Components/Timeline/EndNode.js')
-rw-r--r--webui/src/Components/Timeline/EndNode.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/webui/src/Components/Timeline/EndNode.js b/webui/src/Components/Timeline/EndNode.js
index 072872c..6844b40 100644
--- a/webui/src/Components/Timeline/EndNode.js
+++ b/webui/src/Components/Timeline/EndNode.js
@@ -2,19 +2,12 @@ import React, { Component } from 'react';
import './EndNode.scss';
class EndNode extends Component {
- constructor(props) {
- super(props);
-
- this.state = {
- date: props.date
- };
- }
render() {
return (
<div className={"EndNode"}>
<span className="horizontal-line"></span>
- <p className="date">{this.state.date}</p>
+ <p className="date">{this.props.date}</p>
</div>
);
}