[questions][fix] encounter last seen sorting (#530)

Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
This commit is contained in:
hpkoh
2022-11-08 01:58:19 +08:00
committed by GitHub
parent f400af76af
commit 861303016f
7 changed files with 18 additions and 27 deletions

View File

@@ -223,7 +223,7 @@ export default function ContributeQuestionForm({
createEncounterButtonText="Yes, this is my question"
questionId={question.id}
roles={roleCounts}
timestamp={question.seenAt}
timestamp={question.lastSeenAt}
type={question.type}
onReceivedSubmit={async (data) => {
await addEncounterAsync({