We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6cf9fd commit 34fc44eCopy full SHA for 34fc44e
peer-prep/src/Components/QuestionList/Question.jsx
@@ -55,7 +55,7 @@ export const Question = ({question, i, deleteQuestion, updateQuestion}) => {
55
</div>
56
57
58
- <div className="delete-btn" onClick = {(e) => deleteQuestion(question._id)}>
+ <div className="delete-btn" onClick = {(e) => deleteQuestion(question.id)}>
59
<img src= {delete_icon} alt="" />
60
61
0 commit comments