centering
This commit is contained in:
parent
5e70327bd3
commit
84ae2ac3f7
@ -25,6 +25,7 @@ const Render=()=>
|
||||
{
|
||||
float: none;
|
||||
width: 80%;
|
||||
margin: 0 auto;
|
||||
@media(min-width:625px)
|
||||
{
|
||||
width:50%;
|
||||
@ -100,7 +101,7 @@ const cacheName =()=>
|
||||
const lookup = localStorage.getItem("ye-2025-product");
|
||||
if(!lookup)
|
||||
{
|
||||
console.log("fresh cache of name");
|
||||
//console.log("fresh cache of name");
|
||||
cacheName().then(mentionDonation);
|
||||
}
|
||||
else
|
||||
@ -110,12 +111,12 @@ else
|
||||
const elapsed = Math.abs(THEN - NOW);
|
||||
if( elapsed > 2 * 60 * 60 * 1000)
|
||||
{
|
||||
console.log("cache stale, re-fetching name");
|
||||
//console.log("cache stale, re-fetching name");
|
||||
cacheName().then(mentionDonation);
|
||||
}
|
||||
else
|
||||
{
|
||||
console.log("using cached name");
|
||||
//console.log("using cached name");
|
||||
mentionDonation(name);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user