Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 경기 생성, 수정을 하나의 컴포넌트로 만들었습니다. #196

Merged
merged 8 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions app/club/[clubId]/league/create/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
// import LeagueCreate from "@/components/pages/club/LeaueCreate";
"use client";

import LeagueForm from "@/components/club/LeagueForm";
import { useParams } from "next/navigation";

function LeagueCreatePage() {
return <div>league create</div>;
// return <LeagueCreate />;
const { clubId } = useParams();

return (
<div className="container mx-auto rounded-lg space-y-6 ">
<div className="border-b pb-4">
<h2 className="text-2xl font-bold text-gray-800">경기 생성</h2>
</div>
<LeagueForm clubId={clubId as string} />
</div>
);
}

export default LeagueCreatePage;
Loading
Loading