Replaced date time pickers with another compoent to better choose time. BOD-122

This commit is contained in:
Patrick Fic
2020-05-22 10:24:54 -07:00
parent 19eceae2b9
commit d8c159cde0
12 changed files with 159 additions and 95 deletions

View File

@@ -111,7 +111,7 @@ export function* setInstanceIdSaga({ payload: uid }) {
});
yield put(setLocalFingerprint(fingerprint));
yield delay(5000);
yield delay(5 * 60 * 1000);
yield put(checkInstanceId(uid));
} catch (error) {
console.log("error", error);
@@ -131,7 +131,7 @@ export function* checkInstanceIdSaga({ payload: uid }) {
let fingerprint = yield select((state) => state.user.fingerprint);
if (snapshot.data().fingerprint === fingerprint) {
yield delay(30000);
yield delay(5 * 60 * 1000);
yield put(checkInstanceId(uid));
} else {
console.log("ERROR: Fingerprints do not match. Conflict detected.");