mirror of
https://github.com/kremalicious/portfolio.git
synced 2025-02-14 21:10:41 +01:00
gif fix
This commit is contained in:
parent
8cf9dd73ab
commit
b9a0b720b1
@ -25,7 +25,8 @@ export default function NotFound() {
|
|||||||
|
|
||||||
async function handleClick(e) {
|
async function handleClick(e) {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
await getRandomGif()
|
const gif = await getRandomGif()
|
||||||
|
setGif(gif)
|
||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user