diff --git a/resources/assets/src/components/Captcha.tsx b/resources/assets/src/components/Captcha.tsx index f6629052..5169aad4 100644 --- a/resources/assets/src/components/Captcha.tsx +++ b/resources/assets/src/components/Captcha.tsx @@ -15,11 +15,11 @@ type State = { invisible: boolean } -class Captcha extends React.Component { +class Captcha extends React.Component, State> { state: State ref: React.MutableRefObject - constructor(props: null) { + constructor(props: Record) { super(props) this.state = { value: '',