Skip to content

Commit

Permalink
Merge pull request #2610 from Northeastern-Electric-Racing/2399-Jhony…
Browse files Browse the repository at this point in the history
…elGalvis-CancelbuttonColorUpdate

#2399: changed the color of the cancel button on the create work pack…
  • Loading branch information
Peyton-McKee authored May 26, 2024
2 parents 4bcccca + 7bf0dd0 commit ac7c127
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { yupResolver } from '@hookform/resolvers/yup';
import { Box, TextField, Autocomplete, FormControl, Typography, Tooltip } from '@mui/material';
import { useState } from 'react';
import WorkPackageFormDetails from './WorkPackageFormDetails';
import NERFailButton from '../../components/NERFailButton';
import NERSuccessButton from '../../components/NERSuccessButton';
import PageLayout from '../../components/PageLayout';
import { useToast } from '../../hooks/toasts.hooks';
Expand Down Expand Up @@ -198,9 +197,9 @@ const WorkPackageFormView: React.FC<WorkPackageFormViewProps> = ({
</Box>
)}
<Box>
<NERFailButton variant="contained" onClick={exitActiveMode} sx={{ mx: 1 }}>
<NERButton variant="contained" onClick={exitActiveMode} sx={{ mx: 1 }}>
Cancel
</NERFailButton>
</NERButton>
<NERSuccessButton variant="contained" type="submit" sx={{ mx: 1 }} disabled={!changeRequestInputExists}>
Submit
</NERSuccessButton>
Expand Down

0 comments on commit ac7c127

Please sign in to comment.