mirror of
https://github.com/AmanTahiliani/PeerNotes.git
synced 2026-08-08 04:06:18 -04:00
remove console.logs
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user