This commit is contained in:
Takeshi Kimata
2024-02-16 22:11:59 +09:00
parent 291bad6d56
commit d889655324
6 changed files with 39 additions and 17 deletions

View File

@@ -134,16 +134,6 @@ export default function ProjectsPage() {
isValid = false;
}
// validate projectDetail
if (!projectDetail.text) {
setProjectDetail({
text: "",
isValid: true,
errorMessage: "Please enter project detail",
});
isValid = false;
}
if (isValid) {
const newProject = await createProject(
projectName.text,