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
Copy file name to clipboardExpand all lines: src/app/page.tsx
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -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,14 +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. */}
0 commit comments