mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix loading state indicator sytling in p/all
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user