From d5922a9e089b4e5e335e7973583e676dc5fa243d Mon Sep 17 00:00:00 2001 From: Kirill Chernakov Date: Wed, 25 Dec 2024 15:37:37 +0400 Subject: [PATCH] fix: add missing page title --- keep-ui/app/(keep)/workflows/builder/[workflowId]/page.tsx | 6 ++++++ keep-ui/app/(keep)/workflows/builder/page.tsx | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/keep-ui/app/(keep)/workflows/builder/[workflowId]/page.tsx b/keep-ui/app/(keep)/workflows/builder/[workflowId]/page.tsx index 2b705fd2f..7968073fe 100644 --- a/keep-ui/app/(keep)/workflows/builder/[workflowId]/page.tsx +++ b/keep-ui/app/(keep)/workflows/builder/[workflowId]/page.tsx @@ -1,3 +1,4 @@ +import { Metadata } from "next"; import PageClient from "../page.client"; import { createServerApiClient } from "@/shared/api/server"; @@ -21,3 +22,8 @@ export default async function PageWithId({ ); } + +export const metadata: Metadata = { + title: "Keep - Workflow Builder", + description: "Build workflows with a UI builder.", +}; diff --git a/keep-ui/app/(keep)/workflows/builder/page.tsx b/keep-ui/app/(keep)/workflows/builder/page.tsx index f749fedc8..cd81fc373 100644 --- a/keep-ui/app/(keep)/workflows/builder/page.tsx +++ b/keep-ui/app/(keep)/workflows/builder/page.tsx @@ -1,6 +1,7 @@ import PageClient from "./page.client"; import { Suspense } from "react"; import Loading from "@/app/(keep)/loading"; +import { Metadata } from "next"; type PageProps = { params: { workflow: string; workflowId: string }; @@ -15,7 +16,7 @@ export default function Page({ params, searchParams }: PageProps) { ); } -export const metadata = { +export const metadata: Metadata = { title: "Keep - Workflow Builder", description: "Build workflows with a UI builder.", };