Skip to content

Commit b76645f

Browse files
committed
fix change password button styling
1 parent 6e40c0c commit b76645f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

common/components/controllers/ChangePasswordController.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import DjangoCSRFToken from "django-react-csrftoken";
44
import React from "react";
5+
import Button from "react-bootstrap/Button";
56
import type { Validator } from "../forms/FormValidation.jsx";
67
import FormValidation from "../forms/FormValidation.jsx";
78
import url from "../utils/url.js";
@@ -100,13 +101,14 @@ class ChangePasswordController extends React.Component<{||}, State> {
100101
formState={this.state}
101102
/>
102103

103-
<button
104+
<Button
105+
variant="login"
104106
className="LogInController-signInButton"
105107
disabled={!this.state.isValid}
106108
type="submit"
107109
>
108110
Change Password
109-
</button>
111+
</Button>
110112
</form>
111113
</div>
112114
);

0 commit comments

Comments
 (0)