Revert "chore(debug): auth"

This reverts commit 2097807062.
This commit is contained in:
Michael Zetterberg
2024-05-16 08:19:17 +02:00
parent 2097807062
commit 3153f158a9
44 changed files with 42 additions and 460 deletions

View File

@@ -1,6 +1,9 @@
"use client"
import { cva } from "class-variance-authority"
import { Lang } from "@/constants/languages"
import { trpc } from "@/lib/trpc/client"
import styles from "./maxWidth.module.css"
import type { MaxWidthProps } from "@/types/components/max-width"
@@ -12,6 +15,10 @@ export default function MaxWidth({
tag = "section",
...props
}: MaxWidthProps) {
const d = trpc.contentstack.breadcrumbs.get.useQuery({
locale: Lang.en,
href: "/my-pages/overview",
})
const Cmp = tag
return <Cmp className={maxWidthVariants({ className })} {...props} />
}