mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 07:38:53 +02:00
refactor(react): remove use of any
This commit is contained in:
parent
14e09f5ea0
commit
e659266d62
@ -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…
x
Reference in New Issue
Block a user