diff --git a/src/images/PreviewImage.tsx b/src/images/PreviewImage.tsx index af5ff00..4d3815c 100644 --- a/src/images/PreviewImage.tsx +++ b/src/images/PreviewImage.tsx @@ -21,8 +21,6 @@ export function PreviewImage() { try { const todaysPicture = await fetchAPI("https://api.nasa.gov/planetary/apod?api_key="); setMyPreviewImage(todaysPicture); - console.log(myPreviewImage); - } catch (error) { console.error("Error fetching today's image:", error); @@ -33,10 +31,8 @@ export function PreviewImage() { const handleBirthdayFormSubmit = async (event: React.FormEvent) => { event.preventDefault(); try { - console.log(birthday); const userBirthdayImage = await fetchAPI("https://api.nasa.gov/planetary/apod?api_key=", birthday); setMyPreviewImage(userBirthdayImage); - console.log(myPreviewImage); } catch (error) { console.error("Error fetching today's image:", error); }