Public Access
fix: rename graded prop to avoid naming conflict in GrammarCorrection component
This commit is contained in:
1 parent
b58500901a
commit
f6d97baeb5
1 file changed
+1
-1
@@ -9,7 +9,7 @@ interface Props {
|
||||
graded?: boolean
|
||||
}
|
||||
|
||||
export default function GrammarCorrection({ q, value = '', onChange, locked, graded }: Props) {
|
||||
export default function GrammarCorrection({ q, value = '', onChange, locked, graded: _graded }: Props) {
|
||||
const displayText = q.textToCorrect || q.prompt
|
||||
return (
|
||||
<div className="answer-input-wrap">
|
||||
|
||||
Reference in new issue
Block a user