-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.tsx
More file actions
26 lines (23 loc) · 676 Bytes
/
Copy pathpage.tsx
File metadata and controls
26 lines (23 loc) · 676 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
"use client";
import { useRouter } from "next/navigation";
import Changelog from "@/app/(marketing)/changelog/component";
import { dialogProse } from "@/components/dialog-prose";
import { Dialog, DialogContent } from "@/components/ui/dialog";
import { cn } from "@/lib/utils";
export default function Page() {
const router = useRouter();
return (
<Dialog
open={true}
onOpenChange={(next) => {
if (next === false) {
router.back();
}
}}
>
<DialogContent initialFocus={() => null} className={cn(...dialogProse, "max-h-[calc(100vh-100px)] w-157")}>
<Changelog />
</DialogContent>
</Dialog>
);
}