Skip to content

Commit

Permalink
titleを設定
Browse files Browse the repository at this point in the history
  • Loading branch information
eatski committed Aug 11, 2024
1 parent 85b6841 commit 3a57be5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/stories/new/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@ import { getDevice } from "@/common/util/device";
import { NewStory } from "@/components/newStory";
import { getUserSession } from "@/server/serverComponent/getUserSession";
import { createStory } from "@/server/services/story/createStory";
import { Metadata } from "next";
import { headers } from "next/headers";
import { RedirectType, notFound, redirect } from "next/navigation";

export const metadata: Metadata = {
title: "新しいストーリー",
};

export default async function NewStoryPage() {
const session = await getUserSession();
if (!session) {
Expand Down

0 comments on commit 3a57be5

Please sign in to comment.