mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 03:00:41 +01:00
refactor(react): remove use of any
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user