- {(userEmail !== null && Object.keys(cohortsData).length === 0) &&
-
+ {userEmail !== null && Object.keys(cohortsData).length === 0 && (
+
- }
- {userEmail === null &&
-
Authenticate to access the explorer
- }
+ )}
+ {userEmail === null && (
+
Authenticate to access the explorer
+ )}
{filteredCohorts.map(cohortData => (
Completed study
)}
{cohortData.cohort_email.map(email => (
- ✉️ {email}
+
+ ✉️ {email}
+
))}
diff --git a/frontend/src/pages/upload.tsx b/frontend/src/pages/upload.tsx
index fd0b866..3208889 100644
--- a/frontend/src/pages/upload.tsx
+++ b/frontend/src/pages/upload.tsx
@@ -1,7 +1,7 @@
'use client';
import React, {useState} from 'react';
-import { Upload, UploadCloud } from 'react-feather';
+import {Upload, UploadCloud} from 'react-feather';
import {useCohorts} from '@/components/CohortsContext';
import {TrashIcon} from '@/components/Icons';
import {apiUrl} from '@/utils';
@@ -94,7 +94,7 @@ export default function UploadPage() {
return (