fix loading state indicator sytling in p/all

This commit is contained in:
plebeius.eth
2023-09-11 12:29:22 +02:00
parent 92564b4bc6
commit afb2e3fffc
3 changed files with 68 additions and 4 deletions
+1 -1
View File
@@ -67,6 +67,7 @@ export default function App() {
// check for new version
// TODO: delete this code and toast when v1.0.0 is released
useEffect(() => {
const fetchVersionInfo = async () => {
try {
@@ -80,7 +81,6 @@ export default function App() {
localStorage.setItem('infoToast', newVersionInfo);
}
// Check for commit hash if commitRef is defined
if (commitRef.length > 0) {
const commitRes = await fetch('https://api.github.com/repos/plebbit/plebchan/commits?per_page=1&sha=development', { cache: 'no-cache' });
const commitData = await commitRes.json();