diff --git a/part1/courseinfo/src/App.js b/part1/courseinfo/src/App.js
index 07df585..a9f2790 100644
--- a/part1/courseinfo/src/App.js
+++ b/part1/courseinfo/src/App.js
@@ -8,9 +8,9 @@ const Part = (props) => (
const Content = (props) => (
)
@@ -20,18 +20,24 @@ const Total = (props) => (
const App = () => {
const course = 'Half Stack application development'
- const part1 = 'Fundamentals of React'
- const exercises1 = 10
- const part2 = 'Using props to pass data'
- const exercises2 = 7
- const part3 = 'State of a component'
- const exercises3 = 14
+ const part1 = {
+ name: 'Fundamentals of React',
+ exercises: 10
+ }
+ const part2 = {
+ name: 'Using props to pass data',
+ exercises: 7
+ }
+ const part3 = {
+ name: 'State of a component',
+ exercises: 14
+ }
return (
-
-
+
+
)
}