Ver código fonte

[Wayne] For building project, logic needs to be checked

1. Update CreateProjectProps: add to ?
tags/Baseline_30082024_FRONTEND_UAT
MSI\2Fi 2 anos atrás
pai
commit
46300064ab
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      src/components/CreateProject/CreateProjectWrapper.tsx

+ 2
- 2
src/components/CreateProject/CreateProjectWrapper.tsx Ver arquivo

@@ -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;


Carregando…
Cancelar
Salvar