Browse Source

Add ID to name change button

pull/2365/head
Gabe Kangas 3 years ago
parent
commit
dab83505a8
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 7
      web/components/modals/NameChangeModal/NameChangeModal.tsx

7
web/components/modals/NameChangeModal/NameChangeModal.tsx

@ -57,7 +57,12 @@ export const NameChangeModal: FC = () => { @@ -57,7 +57,12 @@ export const NameChangeModal: FC = () => {
const colorOptions = [...Array(maxColor)].map((e, i) => i);
const saveButton = (
<Button type="primary" onClick={handleNameChange} disabled={!saveEnabled()}>
<Button
type="primary"
id="name-change-submit"
onClick={handleNameChange}
disabled={!saveEnabled()}
>
Change name
</Button>
);

Loading…
Cancel
Save