Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tfhuhtal committed Sep 27, 2024
1 parent 155759a commit 4dea77b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ const Answer = ({ question, faculty, modify = true }) => {
useEffect(() => {
const gotTheLock = currentEditors && currentEditors[modalName] && currentEditors[modalName].uid === currentUser.uid

console.log(currentEditors)

setHasLock(gotTheLock)

if (gettingLock && currentEditors[fieldName]) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ const FacultyTrackingView = ({ faculty }) => {
>
<div className="question-picker-container">
{questionData.map((group, index) => (
// eslint-disable-next-line react/no-array-index-key
<div className="question-group" key={`group-${index}`}>
<QuestionPicker label={group.title[lang]} questionsList={group.parts} form={form} />
</div>
Expand Down

0 comments on commit 4dea77b

Please sign in to comment.