mirror of
https://github.com/strapi/strapi.git
synced 2025-08-12 18:53:23 +00:00
Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
This commit is contained in:
parent
61bcfb58d0
commit
d5abc0a47b
@ -1,5 +1,6 @@
|
||||
import React from 'react';
|
||||
import { useIntl } from 'react-intl';
|
||||
import { Padded } from '@buffetjs/core';
|
||||
import PropTypes from 'prop-types';
|
||||
import BaselineAlignment from '../../../../components/BaselineAlignement';
|
||||
import Button from '../../../../components/FullWidthButton';
|
||||
@ -32,11 +33,12 @@ const ForgotPassword = ({ formErrors, modifiedData, onChange, onSubmit }) => {
|
||||
validations={{ required: true }}
|
||||
value={modifiedData.email}
|
||||
/>
|
||||
<BaselineAlignment top size="13px">
|
||||
<BaselineAlignment top size="3px" />
|
||||
<Padded top>
|
||||
<Button type="submit" color="primary" textTransform="uppercase">
|
||||
{formatMessage({ id: 'Auth.form.button.forgot-password' })}
|
||||
</Button>
|
||||
</BaselineAlignment>
|
||||
</Padded>
|
||||
</form>
|
||||
</Box>
|
||||
</BaselineAlignment>
|
||||
|
@ -1,5 +1,6 @@
|
||||
import React from 'react';
|
||||
import { useIntl } from 'react-intl';
|
||||
import { Padded } from '@buffetjs/core';
|
||||
import { get } from 'lodash';
|
||||
import PropTypes from 'prop-types';
|
||||
import BaselineAlignment from '../../../../components/BaselineAlignement';
|
||||
@ -41,11 +42,12 @@ const ResetPassword = ({ formErrors, modifiedData, onChange, onSubmit, requestEr
|
||||
validations={{ required: true }}
|
||||
value={modifiedData.confirmPassword}
|
||||
/>
|
||||
<BaselineAlignment top size="13px">
|
||||
<BaselineAlignment top size="3px" />
|
||||
<Padded top>
|
||||
<Button type="submit" color="primary" textTransform="uppercase">
|
||||
{formatMessage({ id: 'Auth.form.button.reset-password' })}
|
||||
</Button>
|
||||
</BaselineAlignment>
|
||||
</Padded>
|
||||
</form>
|
||||
</Box>
|
||||
</BaselineAlignment>
|
||||
|
Loading…
x
Reference in New Issue
Block a user