fix: #6656 Concatene strings
This commit is contained in:
parent
4f2ca7dddf
commit
9d34a22033
|
@ -45,7 +45,7 @@ function getTokenConfig() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkValidity() {
|
function checkValidity() {
|
||||||
const created = localStorage.getItem('created');
|
const created = +localStorage.getItem('created');
|
||||||
const ttl = localStorage.getItem('ttl');
|
const ttl = localStorage.getItem('ttl');
|
||||||
|
|
||||||
if (isCheckingToken || !created) return;
|
if (isCheckingToken || !created) return;
|
||||||
|
|
Loading…
Reference in New Issue