update button text and removed logout button from chnage password page
This commit is contained in:
parent
6059e63064
commit
b0b93bfb45
|
@ -191,17 +191,12 @@ export default function Generate() {
|
||||||
{loading ? (
|
{loading ? (
|
||||||
<Spinner animation="border" />
|
<Spinner animation="border" />
|
||||||
) : (
|
) : (
|
||||||
constants.SET_PASSPHRASE
|
constants.CHANGE_PASSWORD
|
||||||
)}
|
)}
|
||||||
</Button>
|
</Button>
|
||||||
</Form>
|
</Form>
|
||||||
)}
|
)}
|
||||||
</Formik>
|
</Formik>
|
||||||
<div className="text-center" style={{ marginTop: '20px' }}>
|
|
||||||
<Button variant="link" onClick={() => router.push('/')}>
|
|
||||||
{constants.LOGOUT}
|
|
||||||
</Button>
|
|
||||||
</div>
|
|
||||||
</Card.Body>
|
</Card.Body>
|
||||||
</Card>
|
</Card>
|
||||||
</Container>
|
</Container>
|
||||||
|
|
Loading…
Reference in a new issue