rafmacalaba commited on
Commit
290ad35
·
1 Parent(s): 2ae6728

fix: rename 'Your Name' to 'Annotator', make read-only, auto-populated from OAuth

Browse files
Files changed (1) hide show
  1. app/components/AnnotationModal.js +3 -4
app/components/AnnotationModal.js CHANGED
@@ -78,14 +78,13 @@ export default function AnnotationModal({
78
 
79
  {/* Annotator name */}
80
  <div className="form-group">
81
- <label htmlFor="annotator-name">Your Name</label>
82
  <input
83
  id="annotator-name"
84
  type="text"
85
  className="form-input"
86
- placeholder="Enter your name"
87
- value={annotatorName}
88
- onChange={(e) => onAnnotatorChange(e.target.value)}
89
  />
90
  </div>
91
  </div>
 
78
 
79
  {/* Annotator name */}
80
  <div className="form-group">
81
+ <label htmlFor="annotator-name">Annotator</label>
82
  <input
83
  id="annotator-name"
84
  type="text"
85
  className="form-input"
86
+ value={annotatorName || 'Not signed in'}
87
+ readOnly
 
88
  />
89
  </div>
90
  </div>