Skip to content

Commit 101fe8a

Browse files
authored
Merge pull request #1431 from Northeastern-Electric-Racing/#716-JakeWu-Chen-buttonchange
#716 jake wu chen buttonchange
2 parents e66233a + caf6137 commit 101fe8a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/frontend/src/pages/ChangeRequestDetailPage/ProposedSolutionForm.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
* See the LICENSE file in the repository root folder for details.
44
*/
55

6-
import { Box, Button, Dialog, DialogContent, DialogTitle } from '@mui/material';
6+
import { Box, Dialog, DialogContent, DialogTitle } from '@mui/material';
77
import CloseIcon from '@mui/icons-material/Close';
8+
import NERSuccessButton from '../../components/NERSuccessButton';
89
import * as yup from 'yup';
910
import { Controller, useForm } from 'react-hook-form';
1011
import { yupResolver } from '@hookform/resolvers/yup';
@@ -190,15 +191,15 @@ const ProposedSolutionForm: React.FC<ProposedSolutionFormProps> = ({
190191
''
191192
) : (
192193
<Box display="flex" flexDirection="row-reverse">
193-
<Button
194+
<NERSuccessButton
194195
color="success"
195196
variant="contained"
196197
type="submit"
197198
form="individual-proposed-solution-form"
198199
sx={{ textTransform: 'none', fontSize: 16, marginTop: 3 }}
199200
>
200201
Add
201-
</Button>
202+
</NERSuccessButton>
202203
</Box>
203204
)}
204205
</form>

0 commit comments

Comments
 (0)