Fix: flip direction of diff to show wrong as red and correct as green

This commit is contained in:
Richard Wong 2024-03-16 23:34:45 +09:00
parent 82b8a87b17
commit 5273160a0f
Signed by: richard
GPG Key ID: 5BD36BA2E9EE33D0
1 changed files with 8 additions and 8 deletions

View File

@ -202,18 +202,18 @@ const VerseValidator = ({ element: { pack, title, chapterTitle, reference, verse
<div> <div>
ChapterTitle: ChapterTitle:
<DiffViewer <DiffViewer
oldValue={chapterTitle} oldValue={inputChapterTitle}
newValue={inputChapterTitle} newValue={chapterTitle}
/> />
</div> </div>
)} )}
<p></p> <p></p>
<div> <div>
Title: <DiffViewer oldValue={title} newValue={inputTitle} /> Title: <DiffViewer oldValue={inputTitle} newValue={title} />
</div> </div>
<p></p> <p></p>
<div> <div>
Verse: <DiffViewer oldValue={verse} newValue={inputVerse} /> Verse: <DiffViewer oldValue={inputVerse} newValue={verse} />
</div> </div>
</div> </div>
)} )}