remove console.logs

This commit is contained in:
afazio1
2024-04-21 00:40:49 -04:00
parent 851443f19f
commit 09cc971466
2 changed files with 0 additions and 4 deletions

View File

@@ -38,10 +38,8 @@ const MainSearch: React.FC = () => {
headers: getAuthHeaders(),
});
const data = await response.json();
console.log("Professors fetched:", data);
if (Array.isArray(data)) {
console.log("Professors fetched:", data);
setProfessors(data);
} else {
console.error('Data fetched is not an array:', data);