From 33119985af9ac7fc5120854a1cc71f1545769653 Mon Sep 17 00:00:00 2001 From: Gabriel Santana Date: Sat, 5 Dec 2020 11:43:36 -0300 Subject: [PATCH] Update App.jsx from class component to functional component --- src/App.jsx | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 6bf295e5..748608c1 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,24 +1,22 @@ -import React, { Component } from 'react'; +import React from 'react'; import './App.css'; import LinkButton from './components/LinkButton/LinkButton'; import Navbar from './components/Navbar/Navbar'; import CardsContainer from './components/ProjectList/CardsContainer'; import SocialShare from './components/SocialShare/SocialShare'; -class App extends Component { - render() { - return ( -
- -
-

Make your first open source contribution in 5 minutes

-
- - - -
- ); - } +const App = () => { + return ( +
+ +
+

Make your first open source contribution in 5 minutes

+
+ + + +
+ ); } export default App;