Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

292 B
Raw Blame
"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()} />;
}