1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-19 01:17:18 +02:00

Refactor/rename constraint button (#5260)

This PR changes the button type and text for constraint accordions
This commit is contained in:
Fredrik Strand Oseberg 2023-11-03 11:34:15 +01:00 committed by GitHub
parent 7cf998c509
commit ddb9b5c20f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,11 +63,11 @@ export const ConstraintAccordionEditBody: React.FC<IConstraintAccordionBody> =
<StyledLeftButton <StyledLeftButton
type='button' type='button'
onClick={onSubmit} onClick={onSubmit}
variant='contained' variant='outlined'
color='primary' color='primary'
data-testid='CONSTRAINT_SAVE_BUTTON' data-testid='CONSTRAINT_SAVE_BUTTON'
> >
Save Done
</StyledLeftButton> </StyledLeftButton>
<StyledRightButton <StyledRightButton
onClick={() => { onClick={() => {