File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,12 @@ export default function Home() {
8686 className = "border-2 px-2 md:px-10 py-10 md:py-30 flex flex-col gap-4 md:gap-8 items-center justify-center w-full md:w-3/5 border-dashed rounded-3xl mt-6 md:mt-12 text-lg hover:cursor-pointer"
8787 >
8888 < input { ...getInputProps ( ) } data-testid = "file-input" > </ input >
89+
90+ { /* Conditional rendering to show if a user has uploaded single files*/ }
91+ { hasProcessedFollowers && < div className = "bg-slate-200 px-5 md:px-20 py-2 border-2 rounded-2xl" > Followers List Uploaded!</ div > }
92+
93+ { hasProcessedFollowing && < div className = "bg-slate-200 px-5 md:px-20 py-2 border-2 rounded-2xl" > Following List Uploaded!</ div > }
94+
8995 < Upload size = { 50 } > </ Upload >
9096 < p className = "text-center whitespace-normal break-words" >
9197 Drag & drop your< br />
You can’t perform that action at this time.
0 commit comments