mirror of
https://github.com/tomru/advcal.git
synced 2026-03-03 06:27:17 +01:00
use jsx extension for react stuff
This commit is contained in:
@@ -8,7 +8,8 @@ const Header = () => {
|
||||
"//api.giphy.com/v1/gifs/random?tag=christmas&api_key=3ziHSa4ptYJdv2dOuawgzpBhhiW09Ss1"
|
||||
);
|
||||
const { data } = await response.json();
|
||||
setGifUrl(data.image_mp4_url);
|
||||
console.log(data)
|
||||
setGifUrl(data.image_webp_url);
|
||||
}
|
||||
|
||||
getGif();
|
||||
Reference in New Issue
Block a user