mirror of
https://github.com/franjsco/tick3t
synced 2025-06-05 22:19:18 +02:00
refactor: Home component
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
import React, { Component } from 'react';
|
import React from 'react';
|
||||||
import {
|
import {
|
||||||
Row,
|
Row,
|
||||||
Col
|
Col
|
||||||
@ -7,14 +7,7 @@ import {
|
|||||||
import CreateTicketCard from './CreateTicketCard';
|
import CreateTicketCard from './CreateTicketCard';
|
||||||
import SearchTicketCard from './SearchTicketCard';
|
import SearchTicketCard from './SearchTicketCard';
|
||||||
|
|
||||||
|
const Home = (props) => {
|
||||||
class Home extends Component {
|
|
||||||
constructor(props) {
|
|
||||||
super(props);
|
|
||||||
this.state = {};
|
|
||||||
}
|
|
||||||
|
|
||||||
render() {
|
|
||||||
return (
|
return (
|
||||||
<Row>
|
<Row>
|
||||||
<Col sm={12} md={6}>
|
<Col sm={12} md={6}>
|
||||||
@ -25,7 +18,6 @@ class Home extends Component {
|
|||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Home;
|
export default Home;
|
Reference in New Issue
Block a user