fix: add headers correctly

This commit is contained in:
Christel Westerberg
2024-05-22 14:02:52 +02:00
parent 158b5a5dbb
commit bac513ec4c
9 changed files with 158 additions and 57 deletions

View File

@@ -0,0 +1,15 @@
"use client"
import { useRouter } from "next/navigation"
import Button from "../TempDesignSystem/Button"
export default function BackButton() {
const router = useRouter()
function goBack() {
router.back()
}
return <Button onClick={goBack}>Go Back!</Button>
}