Compare commits

...

2 commits

Author SHA1 Message Date
Anthony Al Lazkani
88ab690456 Set timeout for 15 minutes instead of 10 seconds 2024-12-25 22:35:20 +01:00
Anthony Al Lazkani
0b901eedd8 Fix a small bug within the URL shortener component 2024-12-25 22:35:18 +01:00

View file

@ -47,7 +47,7 @@ export default function () {
setTimeout(() => {
setShowInput(false);
}, 10000);
}, 900000);
} catch (error) {
console.log(error);
}
@ -74,7 +74,7 @@ export default function () {
}
}
return (
<div className="URLShortener-component">
<div className="URLShortener-component">
<div className="left-side">
<h1>Paste the URL</h1>
<form className="url-input" onSubmit={ShortenIt}>