fix(web): complete some ts type (#1148)

This commit is contained in:
Rhon Joe 2023-09-11 09:30:17 +08:00 committed by GitHub
commit 38b9901274
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 15 deletions

View file

@ -100,7 +100,7 @@ const KeyValidator = ({
className='mb-4'
name={form.title}
placeholder={form.placeholder}
value={value[form.key] || ''}
value={value[form.key] as string || ''}
onChange={v => handleChange(form, v)}
onFocus={() => handleFocus(form)}
validating={validating}