Removed the syncing with firestore
This commit is contained in:
@@ -414,8 +414,7 @@ export const StudentDashboard: React.FC = () => {
|
||||
if (isLoading) {
|
||||
return (
|
||||
<div className="min-h-screen bg-slate-50 flex flex-col items-center justify-center">
|
||||
<div className="animate-spin rounded-full h-12 w-12 border-b-2 border-[#f97316] mb-4"></div>
|
||||
<p className="text-xs font-black uppercase tracking-widest text-slate-400">Syncing with Firestore Database...</p>
|
||||
<div className="animate-spin rounded-full h-12 w-12 border-b-2 border-[#f97316]"></div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -439,7 +439,7 @@ export const StudentRegistrationsView: React.FC = () => {
|
||||
disabled={isProcessing}
|
||||
className="px-6 py-2.5 bg-brand-navy text-white rounded-xl font-black text-[10px] uppercase tracking-widest hover:scale-[1.02] transition-all shadow-md"
|
||||
>
|
||||
{isProcessing ? 'Syncing...' : 'Save Attendance'}
|
||||
{isProcessing ? 'Saving...' : 'Save Attendance'}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -499,7 +499,7 @@ const StatusTrackerView: React.FC<StatusTrackerViewProps> = ({ event, registrati
|
||||
isUploading ? 'bg-gray-200 text-gray-400 cursor-wait' : 'bg-[#1A202C] text-white hover:bg-black'
|
||||
}`}
|
||||
>
|
||||
{isUploading ? <><i className="fas fa-spinner fa-spin"></i> SYNCING...</> :
|
||||
{isUploading ? <><i className="fas fa-spinner fa-spin"></i> UPLOADING...</> :
|
||||
liveCertStatus === 'APPROVED' ? <><i className="fas fa-check-double"></i> VERIFIED</> :
|
||||
liveCertUrl ? <><i className="fas fa-clock"></i> RE-UPLOAD PROOF</> :
|
||||
<><i className="fas fa-cloud-arrow-up"></i> UPLOAD PROOF</>}
|
||||
|
||||
Reference in New Issue
Block a user