Skip to content

Commit

Permalink
Merge pull request #164 from gabrielsanttana/update-app
Browse files Browse the repository at this point in the history
Update App.jsx from class component to functional component
  • Loading branch information
Roshanjossey authored Jul 2, 2021
2 parents bd5e251 + 3311998 commit 30455d3
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -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 (
<div className="App">
<Navbar />
<div className="App-header">
<h1>Make your first open source contribution in 5 minutes</h1>
</div>
<LinkButton />
<CardsContainer />
<SocialShare/>
</div>
);
}
const App = () => {
return (
<div className="App">
<Navbar />
<div className="App-header">
<h1>Make your first open source contribution in 5 minutes</h1>
</div>
<LinkButton />
<CardsContainer />
<SocialShare/>
</div>
);
}

export default App;

0 comments on commit 30455d3

Please sign in to comment.