[FIX] ensure db documents are sorted correctly
This commit is contained in:
@@ -67,6 +67,7 @@ export default class IncorrectHistory extends Component {
|
||||
this.state.db.collection("incorrect_answers")
|
||||
.where("uid", "==", this.state.user.uid)
|
||||
.orderBy("term", "asc")
|
||||
.orderBy("definition", "asc")
|
||||
.get()
|
||||
.then(async (querySnapshot) => {
|
||||
let incorrectAnswers = [];
|
||||
|
||||
Reference in New Issue
Block a user