|
1 | 1 | import LoadingIndicator from '../../../../components/LoadingIndicator'; |
2 | | -import { Box, Stack } from '@mui/system'; |
3 | | -import { Grid, FormControlLabel, Autocomplete, TextField, Button, Chip, Typography } from '@mui/material'; |
| 2 | +import { Grid, Box, FormControlLabel, Autocomplete, TextField, Button, Chip, Typography } from '@mui/material'; |
4 | 3 | import { useMemo, useState } from 'react'; |
5 | 4 | import { useAllUsers, useCurrentUser } from '../../../../hooks/users.hooks'; |
6 | 5 | import { Project, rankUserRole, Review_Status, wbsPipe } from 'shared'; |
7 | 6 | import NERSwitch from '../../../../components/NERSwitch'; |
8 | | -import PartDisplay from '../../../PartPage/PartPageComponents/PartDisplay'; |
9 | 7 | import { useGetAllPartTags, usePartsFromProject } from '../../../../hooks/part-review.hooks'; |
10 | 8 | import ErrorPage from '../../../ErrorPage'; |
11 | | -import { Link as RouterLink } from 'react-router-dom'; |
12 | 9 | import CreateMenu from './PartReviewComponents/PartFormModels/CreateMenu'; |
13 | 10 | import SubmissionGuide from './PartReviewComponents/SubmissionGuide'; |
14 | 11 | import { PartPreviewCard } from './PartReviewComponents/PartPreviewCard'; |
@@ -273,9 +270,7 @@ const PartsReviewPage = ({ project }: { project: Project }) => { |
273 | 270 | <Grid container spacing={3}> |
274 | 271 | <Grid item xs={12}> |
275 | 272 | {/* The guide should be toggled off by default for admins, heads, and leads and toggled on for all other roles */} |
276 | | - {showSubmissionGuide && ( |
277 | | - <SubmissionGuide /> |
278 | | - )} |
| 273 | + {showSubmissionGuide && <SubmissionGuide />} |
279 | 274 | <Typography variant="h4" sx={{ mb: 2 }}> |
280 | 275 | {`${filteredParts?.length === parts.length ? 'All ' : ''} Parts for ${project.name}`} |
281 | 276 | </Typography> |
|
0 commit comments