mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 21:30:53 +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%" }}
|
<input className="link-title form-control" style={{ width: "100%" }}
|
||||||
value={linkTitle}
|
value={linkTitle}
|
||||||
onInput={(e: any) => setLinkTitle(e.target.value)}
|
onInput={e => setLinkTitle((e.target as HTMLInputElement)?.value ?? "")}
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue