From a953e6273300561aef5b55d25989a7a55248f9aa Mon Sep 17 00:00:00 2001 From: pedrosortega Date: Wed, 25 Jun 2025 09:21:14 -0400 Subject: [PATCH] make adjustments --- src/App.jsx | 4 +--- src/GifCard.jsx | 7 ++++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index f5820b1..6c8925f 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -6,8 +6,7 @@ import "./style.css"; import "./GifCard"; import GifCard from "./GifCard"; import SearchField from "./SearchField"; -import GifCard from "./GifCard"; - +// import GifCard from "./GifCard"; const GIPHY_API_KEY = "aAXJQI3cUJuaNhecvZC8rsL6p5jy1uPd"; @@ -41,7 +40,6 @@ const App = () => { ))} - ); }; diff --git a/src/GifCard.jsx b/src/GifCard.jsx index 6835b4a..e7a6992 100644 --- a/src/GifCard.jsx +++ b/src/GifCard.jsx @@ -3,11 +3,12 @@ import { createRoot } from "react-dom/client"; import axios from "axios"; import "./style.css"; - const GifCard = ({ gif }) => { return (
{gif.title} +
+ ); +}; -); -}; \ No newline at end of file +export default GifCard;