Skip to content

Commit 9940b8e

Browse files
committed
client/common/Button: clean up extraneous prop
1 parent 9014f71 commit 9940b8e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

client/common/Button.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ export interface ButtonProps extends React.HTMLAttributes<HTMLElement> {
9292
* but React will automatically convert a boolean prop to the correct string value.
9393
*/
9494
focusable?: boolean;
95-
label?: string;
9695
}
9796

9897
interface StyledButtonProps extends ButtonProps {

client/modules/User/components/APIKeyForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const APIKeyForm = () => {
6969
<Button
7070
disabled={keyLabel === ''}
7171
iconBefore={<PlusIcon />}
72-
label="Create new key"
72+
aria-label="Create new key"
7373
type={ButtonTypes.SUBMIT}
7474
>
7575
{t('APIKeyForm.CreateTokenSubmit')}

0 commit comments

Comments
 (0)