mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-14 22:00:50 -05:00
sentry instrumentation
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import clsx from "clsx";
|
||||
import Link from "../Link";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
import type { Route } from "next";
|
||||
|
||||
import styles from "./PageTitle.module.css";
|
||||
|
||||
@@ -12,7 +11,7 @@ export type PageTitleProps = ComponentPropsWithoutRef<"h1"> & {
|
||||
const PageTitle = ({ canonical, className, children, ...rest }: PageTitleProps) => {
|
||||
return (
|
||||
<h1 className={clsx(styles.title, className)} {...rest}>
|
||||
<Link href={canonical as Route} plain className={styles.slug}>
|
||||
<Link href={canonical} plain className={styles.slug}>
|
||||
{children}
|
||||
</Link>
|
||||
</h1>
|
||||
|
||||
Reference in New Issue
Block a user