fix tests
This commit is contained in:
@@ -57,7 +57,7 @@ const ToDoShow = () => {
|
||||
</> : <>
|
||||
<button className="absolute right-5" onClick={handleEditTodoMode}><EditSVG className="w-5"/></button>
|
||||
<h1 className="text-lg font-bold">{toDo?.name}</h1>
|
||||
<p>Terminé le {toDo?.checked ? (new Date(toDo.checked)).toSmallFrDate() : ''}</p>
|
||||
{toDo?.checked && <p>Terminé le {(new Date(toDo.checked)).toSmallFrDate()}</p>}
|
||||
<p>{toDo?.description}</p>
|
||||
</>}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user