From c5d3138344d0d1b3024e77717e3dfed7acb45d17 Mon Sep 17 00:00:00 2001
From: Francesco Esposito <33671357+frsposito@users.noreply.github.com>
Date: Wed, 31 Jul 2019 16:09:21 +0200
Subject: [PATCH] refactor: Home component
---
src/containers/HomePage/Home.js | 32 ++++++++++++--------------------
1 file changed, 12 insertions(+), 20 deletions(-)
diff --git a/src/containers/HomePage/Home.js b/src/containers/HomePage/Home.js
index 328c01b..66b1ee5 100644
--- a/src/containers/HomePage/Home.js
+++ b/src/containers/HomePage/Home.js
@@ -1,4 +1,4 @@
-import React, { Component } from 'react';
+import React from 'react';
import {
Row,
Col
@@ -7,25 +7,17 @@ import {
import CreateTicketCard from './CreateTicketCard';
import SearchTicketCard from './SearchTicketCard';
-
-class Home extends Component {
- constructor(props) {
- super(props);
- this.state = {};
- }
-
- render() {
- return (
-
-
-
-
-
-
-
-
- );
- }
+const Home = (props) => {
+ return (
+
+
+
+
+
+
+
+
+ );
}
export default Home;
\ No newline at end of file