diff --git a/section-code/src/components/User.vue b/section-code/src/components/User.vue
index e66a851..fd21a52 100644
--- a/section-code/src/components/User.vue
+++ b/section-code/src/components/User.vue
@@ -10,10 +10,11 @@
:name="name"
@nameWasReset="name = $event"
:resetFn="resetName"
+ :userAge="age"
>
@@ -27,6 +28,7 @@
data(){
return {
name: "Tyrel",
+ age: 29
}
},
methods: {
diff --git a/section-code/src/components/UserDetail.vue b/section-code/src/components/UserDetail.vue
index 45e00ab..619d83b 100644
--- a/section-code/src/components/UserDetail.vue
+++ b/section-code/src/components/UserDetail.vue
@@ -2,7 +2,7 @@
You may view the User Details here
Many Details
-
User Name: {{ switchName() }}
+
User Name: {{ switchName() }}, {{userAge}}
@@ -10,7 +10,8 @@