refactor: Home component

This commit is contained in:
Francesco Esposito 2019-07-31 16:09:21 +02:00
parent 2f70dfd487
commit c5d3138344
1 changed files with 12 additions and 20 deletions

View File

@ -1,4 +1,4 @@
import React, { Component } from 'react';
import React from 'react';
import {
Row,
Col
@ -7,14 +7,7 @@ import {
import CreateTicketCard from './CreateTicketCard';
import SearchTicketCard from './SearchTicketCard';
class Home extends Component {
constructor(props) {
super(props);
this.state = {};
}
render() {
const Home = (props) => {
return (
<Row>
<Col sm={12} md={6}>
@ -26,6 +19,5 @@ class Home extends Component {
</Row>
);
}
}
export default Home;