|
@@ -16,8 +16,8 @@ import { fetchGrades } from "@/app/api/grades"; |
|
|
|
|
|
|
|
|
type CreateProjectProps = { isEditMode: false }; |
|
|
type CreateProjectProps = { isEditMode: false }; |
|
|
interface EditProjectProps { |
|
|
interface EditProjectProps { |
|
|
isEditMode: true; |
|
|
|
|
|
projectId: string; |
|
|
|
|
|
|
|
|
isEditMode?: true; |
|
|
|
|
|
projectId?: string; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
type Props = CreateProjectProps | EditProjectProps; |
|
|
type Props = CreateProjectProps | EditProjectProps; |
|
|