From 7c3f1298095727fcacdc903fa79369d5624bf3df Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Wed, 26 Jun 2024 22:01:38 -0700
Subject: lint project

---
 src/app/page.tsx | 60 +++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 35 insertions(+), 25 deletions(-)

(limited to 'src/app/page.tsx')

diff --git a/src/app/page.tsx b/src/app/page.tsx
index 4749635..b5db5b6 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -1,31 +1,41 @@
-import SubscriberTable, { SubscriberDataTableProp } from '../components/SubscriberTable/SubscriberTable';
-import TitleBar from '../components/TitleBar/TitleBar';
+import SubscriberTable, {
+	type SubscriberDataTableProp,
+} from "../components/SubscriberTable/SubscriberTable";
+import TitleBar from "../components/TitleBar/TitleBar";
 
 async function Home() {
-    const graphURL = process.env.NEXT_PUBLIC_GRAPH_URL
-    const data: SubscriberDataTableProp = await getData();
-    return (
-        <>
-            <TitleBar title="PhaseTracker" backgroundColor='black' />
-            <div className="sm:block hidden mt-4" style={{ overflow: 'hidden', height: '105vh', position: 'relative' }}>
-                <iframe src={graphURL} style={{ position: 'absolute', top: 0, left: 0 }} width="100%" height="100%"></iframe>
-            </div>
-            <SubscriberTable {...data} />
-        </>
-    );
+	const graphURL = process.env.NEXT_PUBLIC_GRAPH_URL;
+	const data: SubscriberDataTableProp = await getData();
+	return (
+		<>
+			<TitleBar title="PhaseTracker" backgroundColor="black" />
+			<div
+				className="sm:block hidden mt-4"
+				style={{ overflow: "hidden", height: "105vh", position: "relative" }}
+			>
+				<iframe
+					src={graphURL}
+					style={{ position: "absolute", top: 0, left: 0 }}
+					width="100%"
+					height="100%"
+				></iframe>
+			</div>
+			<SubscriberTable {...data} />
+		</>
+	);
 }
 
 async function getData() {
-    const apiUrl = process.env.NEXT_PUBLIC_API_URL_TESTING
-    const response = await fetch(apiUrl + '/api/subscribers', {
-        headers: {
-            'Cache-Control': 'no-cache'
-        },
-        cache: 'no-cache'
-    });
-    if (!response.ok) {
-        console.log(response.statusText);
-    }
-    return response.json();
+	const apiUrl = process.env.NEXT_PUBLIC_API_URL_TESTING;
+	const response = await fetch(apiUrl + "/api/subscribers", {
+		headers: {
+			"Cache-Control": "no-cache",
+		},
+		cache: "no-cache",
+	});
+	if (!response.ok) {
+		console.log(response.statusText);
+	}
+	return response.json();
 }
-export default Home;
\ No newline at end of file
+export default Home;
-- 
cgit v1.2.3

