@@ -8,14 +8,13 @@ import { wbsPipe } from '../../../utils/pipes';
88import { routes } from '../../../utils/routes' ;
99import { useEditSingleProject } from '../../../hooks/projects.hooks' ;
1010import { useAllUsers } from '../../../hooks/users.hooks' ;
11- import PageBlock from '../../../layouts/PageBlock' ;
1211import ErrorPage from '../../ErrorPage' ;
1312import LoadingIndicator from '../../../components/LoadingIndicator' ;
1413import { useQuery } from '../../../hooks/utils.hooks' ;
1514import { useFieldArray , useForm } from 'react-hook-form' ;
1615import { yupResolver } from '@hookform/resolvers/yup' ;
1716import * as yup from 'yup' ;
18- import { Box , FormControl , Stack , Typography } from '@mui/material' ;
17+ import { Box , Stack , Typography } from '@mui/material' ;
1918import ProjectEditDetails from './ProjectEditDetails' ;
2019import ReactHookEditableList from '../../../components/ReactHookEditableList' ;
2120import { bulletsToObject , mapBulletsToPayload } from '../../../utils/form' ;
@@ -26,7 +25,6 @@ import LinksEditView from '../../../components/Link/LinksEditView';
2625import { EditSingleProjectPayload } from '../../../utils/types' ;
2726import { useState } from 'react' ;
2827import PageLayout from '../../../components/PageLayout' ;
29- import ReactHookTextField from '../../../components/ReactHookTextField' ;
3028
3129const schema = yup . object ( ) . shape ( {
3230 name : yup . string ( ) . required ( 'Name is required!' ) ,
@@ -203,18 +201,6 @@ const ProjectEditContainer: React.FC<ProjectEditContainerProps> = ({ project, ex
203201 setProjectLead = { setProjectLeadId }
204202 setProjectManager = { setprojectManagerId }
205203 />
206- < PageBlock title = "Project Summary" >
207- < FormControl fullWidth >
208- < ReactHookTextField
209- name = "summary"
210- control = { control }
211- placeholder = "Summary"
212- multiline = { true }
213- rows = { 5 }
214- errorMessage = { errors . summary }
215- />
216- </ FormControl >
217- </ PageBlock >
218204 < Stack spacing = { 4 } >
219205 < Box >
220206 < Typography variant = "h5" sx = { { mb : 2 } } >
0 commit comments