mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 13:21:33 +08:00
refactor(react): remove use of any
This commit is contained in:
parent
14e09f5ea0
commit
e659266d62
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ function AddLinkDialogComponent() {
|
|||
|
||||
<input className="link-title form-control" style={{ width: "100%" }}
|
||||
value={linkTitle}
|
||||
onInput={(e: any) => setLinkTitle(e.target.value)}
|
||||
onInput={e => setLinkTitle((e.target as HTMLInputElement)?.value ?? "")}
|
||||
/>
|
||||
</label>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue