We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c09c1d8 commit 64e8912Copy full SHA for 64e8912
client/common/Button.tsx
@@ -80,7 +80,7 @@ export interface ButtonProps extends React.HTMLAttributes<HTMLElement> {
80
/**
81
* If using a native button, specifies on an onClick action
82
*/
83
- onClick?: () => void;
+ onClick?: (evt: React.MouseEvent<HTMLButtonElement>) => void;
84
85
* If using a button, then type is defines the type of button
86
client/modules/User/components/AccountForm.tsx
@@ -107,7 +107,7 @@ export function AccountForm() {
107
</span>
108
) : (
109
<Button
110
- onClick={() => handleInitiateVerification}
+ onClick={handleInitiateVerification}
111
className="form__resend-button"
112
>
113
{t('AccountForm.Resend')}
0 commit comments