change button style for change username box (#2537)

* change button style for change username box

* fix lints
This commit is contained in:
Tessa Thornton
2019-09-09 11:53:28 -04:00
committed by GitHub
parent 1a69f48087
commit f8cf4e94d3
2 changed files with 2 additions and 7 deletions
@@ -32,7 +32,6 @@ import FieldValidationMessage from "coral-stream/common/FieldValidationMessage";
import {
Box,
Button,
ButtonIcon,
CallOut,
CardCloseButton,
Flex,
@@ -321,11 +320,7 @@ const ChangeUsernameContainer: FunctionComponent<Props> = ({
Cancel
</Button>
</Localized>
<Localized
id="profile-changeUsername-submit"
ButtonIcon={<ButtonIcon>save</ButtonIcon>}
span={<span />}
>
<Localized id="profile-changeUsername-submit-button-save">
<Button
className={CLASSES.myUsername.form.saveButton}
variant={pristine || invalid ? "outlined" : "filled"}
@@ -334,7 +329,6 @@ const ChangeUsernameContainer: FunctionComponent<Props> = ({
color={pristine || invalid ? "regular" : "primary"}
disabled={pristine || invalid}
>
<ButtonIcon>save</ButtonIcon>
<span>Save</span>
</Button>
</Localized>