From aa04db30c0630270271b70d664fcf866c4bd3907 Mon Sep 17 00:00:00 2001
From: Francesco Esposito <33671357+frsposito@users.noreply.github.com>
Date: Wed, 31 Jul 2019 16:08:51 +0200
Subject: [PATCH] refactor: CreateTicketCard
---
src/containers/HomePage/CreateTicketCard.js | 52 +++++++++------------
1 file changed, 21 insertions(+), 31 deletions(-)
diff --git a/src/containers/HomePage/CreateTicketCard.js b/src/containers/HomePage/CreateTicketCard.js
index 4ec2ca7..97dab52 100644
--- a/src/containers/HomePage/CreateTicketCard.js
+++ b/src/containers/HomePage/CreateTicketCard.js
@@ -1,46 +1,36 @@
-import React, { Component } from 'react';
+import React from 'react';
import { Link } from 'react-router-dom';
import Card from '../../components/Card';
import Logo from '../../components/Logo';
import Button from '../../components/Button';
-import logoSVG from '../../assets/assistance.svg';
+import logoCreateTicket from '../../assets/create_ticket.svg';
const style = {
height: '160px',
margin: '30px'
};
-class CreateTicketCard extends Component {
- constructor(props) {
- super(props);
- this.state = {};
- }
-
- render() {
- return (
-
-
-
-
-
- );
- }
+const CreateTicketCard = (props) => {
+ return (
+
+
+
+
+ );
}
+
export default CreateTicketCard;
\ No newline at end of file