Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 0649654

Browse files
Parth ShahParth Shah
authored andcommitted
added correct responses for validations
1 parent 478c310 commit 0649654

File tree

6 files changed

+20
-5
lines changed

6 files changed

+20
-5
lines changed

config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ steps:
6262
right: '%actions.fileContents%'
6363
else:
6464
- type: respond
65-
with: bad-uncomment.md
65+
with: bad-header.md
6666
issue: Changes
6767
- type: respond
6868
with: 02-props.md
@@ -94,7 +94,7 @@ steps:
9494
right: '%actions.fileContents%'
9595
else:
9696
- type: respond
97-
with: bad-uncomment.md
97+
with: bad-import.md
9898
issue: Changes
9999
- type: createPullRequestComment
100100
body: uncomment-assignments-activity.md
@@ -152,7 +152,7 @@ steps:
152152
right: '%actions.fileContents%'
153153
else:
154154
- type: respond
155-
with: bad-uncomment.md
155+
with: bad-prop.md
156156
issue: Changes
157157
- type: respond
158158
with: 03-state.md
@@ -184,7 +184,7 @@ steps:
184184
right: '%actions.fileContents%'
185185
else:
186186
- type: respond
187-
with: bad-uncomment.md
187+
with: bad-state.md
188188
issue: Changes
189189
- type: createPullRequestComment
190190
body: explaining-this-state-activity.md
@@ -284,7 +284,7 @@ steps:
284284
right: '%actions.fileContents%'
285285
else:
286286
- type: respond
287-
with: bad-uncomment.md
287+
with: bad-replace.md
288288
issue: Changes
289289
- type: createPullRequestComment
290290
body: uncomment-grades-activity.md

responses/bad-header.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Looks you did not correctly add an `h3` component in the right place in `src/App.jsx`.
2+
3+
Try again!

responses/bad-import.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Looks you did not import the `List` component into `App`.
2+
3+
Try again!

responses/bad-prop.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Looks you did not replace the title with a prop in the correct place in `src/List.jsx`
2+
3+
Try again!

responses/bad-replace.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Looks you did not replace the props for student rendering.
2+
3+
Try again!

responses/bad-state.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Looks you did not add a `students` state variable.
2+
3+
Try again!

0 commit comments

Comments
 (0)