From ce903edb37d9c11ff1e983fbf1015cd95af31140 Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Tue, 24 Jun 2025 23:43:47 -0700
Subject: frontend: custom pfps for all games

---
 site/src/pages/Homepage.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'site/src/pages/Homepage.tsx')

diff --git a/site/src/pages/Homepage.tsx b/site/src/pages/Homepage.tsx
index a3247cc..18f2e37 100644
--- a/site/src/pages/Homepage.tsx
+++ b/site/src/pages/Homepage.tsx
@@ -23,10 +23,10 @@ export default function Home() {
   useEffect(() => {
     const fetchNews = async () => {
       setLoading(true);
-      const jsonFile = gameId ? `${gameId}_news.json` : "news.json";
+      const newsDataFileName = gameId ? `${gameId}_news.json` : "news.json";
       try {
         const response = await fetch(
-          "https://arcade-news.pinapelz.com/" + `${jsonFile}`,
+          "https://arcade-news.pinapelz.com/" + `${newsDataFileName}`,
         );
         if (!response.ok) {
           throw new Error(`Failed to fetch news: ${response.statusText}`);
@@ -102,7 +102,7 @@ export default function Home() {
               </p>
             </div>
           )}
-          <NewsFeed newsItems={newsFeedData.news_posts} />
+          <NewsFeed newsItems={newsFeedData.news_posts}/>
         </div>
         <footer
           className={`mt-8 text-center text-sm ${isMoe ? "text-pink-800" : "text-gray-400"}`}
-- 
cgit v1.2.3

