Refactor: remove logs

This commit is contained in:
Dorian Zedler 2022-05-13 19:17:49 +02:00
parent 1646622a61
commit cb03447971
Signed by: dorian
GPG key ID: 989DE36109AFA354

View file

@ -73,11 +73,8 @@ document.addEventListener('alpine:init', () => {
return return
} }
console.log(performanceEntry)
const requestDuration = performanceEntry.responseEnd - performanceEntry.requestStart; const requestDuration = performanceEntry.responseEnd - performanceEntry.requestStart;
this.timeOffsetToServer = performanceEntry.responseEnd - data.data.currentServerTime + (requestDuration / 2); this.timeOffsetToServer = performanceEntry.responseEnd - data.data.currentServerTime + (requestDuration / 2);
console.log(requestDuration, "offset: ", this.timeOffsetToServer)
}, },
}) })