Clicking on header redirects to base URL

This commit is contained in:
2025-12-24 14:24:53 +00:00
parent 591ec44ef9
commit 192747b9b9
3 changed files with 10 additions and 9 deletions

View File

@@ -59,10 +59,7 @@ export default function Home() {
}, [params.id]);
return (
<div className="bg-stone-300 flex min-h-screen flex-col items-center justify-center py-2 text-center">
<h1 className="text-3xl font-bold text-red-950">halflink</h1>
<p className="text-black">Shorten a link with ease.</p>
<div>
{errorMessage && (
<p className="mt-4 text-red-800 font-bold">{errorMessage}</p>
)}