A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
"use client";
import { useRouter } from "next/navigation";
import type { ButtonProps } from "./button";
import { Button } from "./button";
export function BackButton({ ...props }: ButtonProps) {
const router = useRouter();
return <Button {...props} onClick={() => router.back()} />;
}