fixing emails listing

This commit is contained in:
2025-12-12 12:28:31 -05:00
parent 1757aba3e7
commit e16271663e
+1 -1
View File
@@ -33,7 +33,7 @@ export default function AdminEmailPage() {
try { try {
setLoading(true); setLoading(true);
const data = await fetchEmailRequests(token); const data = await fetchEmailRequests(token);
setEmails(data); setEmails(data.data);
setError(null); setError(null);
} catch (e: any) { } catch (e: any) {
console.error(e); console.error(e);