You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -26,6 +26,8 @@ export default function Home() {
26
26
setUserDifference([]);
27
27
}
28
28
29
+
// On Drop reads files then checks them against the schemas and throws an error if broke
30
+
// Extremely Robust for wrong json
29
31
functiononDrop(acceptedFiles: File[]){
30
32
acceptedFiles.forEach((file)=>{
31
33
constreader=newFileReader();
@@ -72,81 +74,14 @@ export default function Home() {
72
74
Curious Who Doesn't Follow You Back?
73
75
</h1>
74
76
75
-
{/* TODO: Refactor this conditional rendering into separate components to improve readability. For now, leaving it in-line to focus on styling and theming. */}
{/* Conditional rendering to show if a user has uploaded single files*/}
91
-
{hasProcessedFollowers&&<divclassName="bg-slate-200 px-5 md:px-20 py-2 border-2 rounded-2xl"aria-label="Followers List Uploaded!">Followers List Uploaded!</div>}
92
-
93
-
{hasProcessedFollowing&&<divclassName="bg-slate-200 px-5 md:px-20 py-2 border-2 rounded-2xl">Following List Uploaded!</div>}
0 commit comments