aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-08-20 19:27:07 +0300
committerGitHub <noreply@github.com>2024-08-20 19:27:07 +0300
commit8dc8c6b27fb9fe82ce2e609302078b011b040ba9 (patch)
treea6f0da288c4e67d9cabaf52c39699b8a2714a7fc
parentfeat: return categoryportals in gameid/maps endpoint (#191) (diff)
downloadlphub-8dc8c6b27fb9fe82ce2e609302078b011b040ba9.tar.gz
lphub-8dc8c6b27fb9fe82ce2e609302078b011b040ba9.tar.bz2
lphub-8dc8c6b27fb9fe82ce2e609302078b011b040ba9.zip
fix: homepage api call spam (#195)
Co-authored-by: Wolfboy248 <121288977+Wolfboy248@users.noreply.github.com>
-rw-r--r--frontend/src/components/pages/home.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/pages/home.js b/frontend/src/components/pages/home.js
index 55e58a8..ba96904 100644
--- a/frontend/src/components/pages/home.js
+++ b/frontend/src/components/pages/home.js
@@ -85,7 +85,7 @@ export default function Homepage(prop) {
85 titleDiv.appendChild(titleSpan) 85 titleDiv.appendChild(titleSpan)
86 e.insertBefore(titleDiv, e.firstChild) 86 e.insertBefore(titleDiv, e.firstChild)
87 }); 87 });
88 }) 88 }, [token])
89 89
90 const newsList = [ 90 const newsList = [
91 { 91 {