Skip to content

Commit

Permalink
Render challenges no App
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeog committed Feb 23, 2022
1 parent 516db5b commit 905e7b1
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
import './App.css'
import { Card } from './components/Card'
import * as rawChallenges from './challenges'

export function App() {
return <div className="App">App</div>
const challenges = Object.values(rawChallenges)

return (
<div className="App">
{challenges.map((challenge) => (
<Card key={challenge.title} {...challenge} />
))}
</div>
)
}

0 comments on commit 905e7b1

Please sign in to comment.