Skip to content

Commit

Permalink
refactor(components): Replace PrimaryButton with Button
Browse files Browse the repository at this point in the history
  • Loading branch information
merycardenas27 authored and stephsalazar committed Apr 21, 2020
1 parent 68ca978 commit 03eccee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
6 changes: 2 additions & 4 deletions src/components/Login/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import classNames from 'classnames';
import withStyles from '@material-ui/core/styles/withStyles';
import Grid from '@material-ui/core/Grid';

import PrimaryButton from '../Buttons';
import { Button } from '../Buttons';
import Link from '../Links';
import TextField from '../Inputs/TextField';

Expand Down Expand Up @@ -72,9 +72,7 @@ const Login = ({
<div className={classes.textRight}>{recoveryPass}</div>

<div className={classNames(classes.textCenter, classes.action)}>
<PrimaryButton tag="button" type="submit" id="buttonLogin">
{labels.submit}
</PrimaryButton>
<Button id="buttonLogin" type="submit">{labels.submit}</Button>
</div>

<div className={classes.textCenter}>{createAccount}</div>
Expand Down
6 changes: 2 additions & 4 deletions src/components/PasswordRecovery/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import withStyles from '@material-ui/core/styles/withStyles';
import Grid from '@material-ui/core/Grid';
import Typography from '@material-ui/core/Typography';

import PrimaryButton from '../Buttons';
import { Button } from '../Buttons';
import TextField from '../Inputs/TextField';

const style = {
Expand Down Expand Up @@ -62,9 +62,7 @@ const PasswordRecovery = ({
/>

<div className={classes.action}>
<PrimaryButton tag="button" type="submit" id="buttonRecoveryPass">
{labels.submit}
</PrimaryButton>
<Button id="buttonRecoveryPass" type="submit">{labels.submit}</Button>
</div>
</Grid>
</Grid>
Expand Down
6 changes: 2 additions & 4 deletions src/components/SignUp/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import withStyles from '@material-ui/core/styles/withStyles';
import Grid from '@material-ui/core/Grid';
import Typography from '@material-ui/core/Typography';

import PrimaryButton from '../Buttons';
import { Button } from '../Buttons';
import Link from '../Links';
import TextField from '../Inputs/TextField';

Expand Down Expand Up @@ -83,9 +83,7 @@ const SingUp = ({
/>

<div className={classes.action}>
<PrimaryButton tag="button" type="submit" id="buttonSignUp">
{labels.submit}
</PrimaryButton>
<Button id="buttonSignUp" type="submit">{labels.submit}</Button>
</div>

<Typography
Expand Down

0 comments on commit 03eccee

Please sign in to comment.