Skip to content

Commit f66b1c7

Browse files
authored
Merge pull request #1690 from Northeastern-Electric-Racing/#1323-redesign-links-section
#1323: removed page block
2 parents fe0d73a + fab91fb commit f66b1c7

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

src/frontend/src/pages/ProjectDetailPage/ProjectEdit/ProjectEditContainer.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { wbsPipe } from '../../../utils/pipes';
88
import { routes } from '../../../utils/routes';
99
import { useEditSingleProject } from '../../../hooks/projects.hooks';
1010
import { useAllUsers } from '../../../hooks/users.hooks';
11-
import PageBlock from '../../../layouts/PageBlock';
1211
import ErrorPage from '../../ErrorPage';
1312
import LoadingIndicator from '../../../components/LoadingIndicator';
1413
import { useQuery } from '../../../hooks/utils.hooks';
@@ -202,10 +201,13 @@ const ProjectEditContainer: React.FC<ProjectEditContainerProps> = ({ project, ex
202201
setProjectLead={setProjectLeadId}
203202
setProjectManager={setprojectManagerId}
204203
/>
205-
<PageBlock title="Links">
206-
<LinksEditView watch={watch} ls={links} register={register} append={appendLink} remove={removeLink} />
207-
</PageBlock>
208204
<Stack spacing={4}>
205+
<Box>
206+
<Typography variant="h5" sx={{ mb: 2 }}>
207+
{'Links'}
208+
</Typography>
209+
<LinksEditView watch={watch} ls={links} register={register} append={appendLink} remove={removeLink} />
210+
</Box>
209211
<Box>
210212
<Typography variant="h5">{'Goals'}</Typography>
211213
<ReactHookEditableList

0 commit comments

Comments
 (0)