Skip to content

Commit

Permalink
fix: add missing page title
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiryous committed Dec 25, 2024
1 parent 340fc29 commit d5922a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions keep-ui/app/(keep)/workflows/builder/[workflowId]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Metadata } from "next";
import PageClient from "../page.client";
import { createServerApiClient } from "@/shared/api/server";

Expand All @@ -21,3 +22,8 @@ export default async function PageWithId({
<PageClient workflow={text.workflow_raw} workflowId={params.workflowId} />
);
}

export const metadata: Metadata = {
title: "Keep - Workflow Builder",
description: "Build workflows with a UI builder.",
};
3 changes: 2 additions & 1 deletion keep-ui/app/(keep)/workflows/builder/page.tsx
Original file line number Diff line number Diff line change
@@ -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 };
Expand All @@ -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.",
};

0 comments on commit d5922a9

Please sign in to comment.