MCPcopy Create free account
hub / github.com/9d8dev/directory / BackButton

Function BackButton

components/back-button.tsx:6–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4import { Button } from "@/components/ui/button";
5
6export const BackButton = () => {
7 const router = useRouter();
8
9 return (
10 <Button
11 variant="outline"
12 onClick={() => router.back()}
13 className="not-prose"
14 >
15 Go Back
16 </Button>
17 );
18};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected