mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 22:28:48 +00:00
Revert "Merge pull request #609 from benphelps/fix-576"
This reverts commita7f290dfdd
, reversing changes made tocf38395100
.
This commit is contained in:
parent
02b0604ad7
commit
7b474d4cef
2 changed files with 4 additions and 17 deletions
|
@ -100,7 +100,7 @@ function Index({ initialSettings, fallback }) {
|
|||
localStorage.setItem("hash", hashData.hash);
|
||||
}
|
||||
|
||||
if (!initialSettings.isValid || (previousHash && previousHash !== hashData.hash)) {
|
||||
if (previousHash && previousHash !== hashData.hash) {
|
||||
setStale(true);
|
||||
localStorage.setItem("hash", hashData.hash);
|
||||
|
||||
|
@ -112,7 +112,7 @@ function Index({ initialSettings, fallback }) {
|
|||
}
|
||||
}
|
||||
}
|
||||
}, [hashData, initialSettings]);
|
||||
}, [hashData]);
|
||||
|
||||
if (stale) {
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue