File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -8,24 +8,24 @@ import Summary from './summary';
88import './header.css' ;
99
1010class Header extends Component {
11- static propTypes = {
12- date : PropTypes . string
13- } ;
11+ static propTypes = {
12+ date : PropTypes . string
13+ } ;
1414
15- render ( ) {
16- const { date} = this . props ;
15+ render ( ) {
16+ const { date} = this . props ;
1717
18- const dateBlock = date ? (
19- < div className = "header__date" > created at { date } </ div >
20- ) : null ;
18+ const dateBlock = date ? (
19+ < div className = "header__date" > created at { date } </ div >
20+ ) : null ;
2121
22- return (
23- < header className = "header container" >
24- < Summary />
25- { dateBlock }
26- </ header >
27- ) ;
28- }
22+ return (
23+ < header className = "header container" >
24+ < Summary />
25+ { dateBlock }
26+ </ header >
27+ ) ;
28+ }
2929}
3030
3131export default connect ( ( state ) => {
You can’t perform that action at this time.
0 commit comments