change home button to back button
Build and Publish Docker Image / build (push) Successful in 1m34s
Build and Publish Docker Image / deploy (push) Successful in 2s

This commit is contained in:
2026-09-07 20:16:22 -04:00
parent 8cf1a7ccaf
commit 61973b306d
+2 -2
View File
@@ -55,10 +55,10 @@ export default function Post() {
<div className="my-2"> <div className="my-2">
<a <a
href="#" href="#"
onClick={() => navigate("/")} onClick={() => history.back()}
className="text-sm opacity-50 hover:underline" className="text-sm opacity-50 hover:underline"
> >
&lt;- Home &lt;- Back
</a> </a>
<h1 className="text-2xl font-bold">{post.title}</h1> <h1 className="text-2xl font-bold">{post.title}</h1>
<p className="text-sm opacity-50">{post.description}</p> <p className="text-sm opacity-50">{post.description}</p>