Fix scrolling for questions
This commit is contained in:
parent
3e3cec06f6
commit
1efd67c733
3 changed files with 14 additions and 7 deletions
|
|
@ -79,10 +79,12 @@ export class Logger {
|
|||
public logQuestions(answers: string[], isKQ: boolean = false) {
|
||||
const uid = store.getState().uid;
|
||||
|
||||
this.database
|
||||
.ref(uid)
|
||||
.child(`${isKQ ? 'knowledge' : 'general'}Questions`)
|
||||
.set(answers);
|
||||
try {
|
||||
this.database
|
||||
.ref(uid)
|
||||
.child(`${isKQ ? 'knowledge' : 'general'}Questions`)
|
||||
.set(answers);
|
||||
} catch (e) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue