update button text and removed logout button from chnage password page

This commit is contained in:
Abhinav-grd 2021-04-05 11:24:25 +05:30
parent 6059e63064
commit b0b93bfb45

View file

@ -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>