mirror of
https://github.com/silvanocerza/github-gitless-sync.git
synced 2026-07-22 05:41:36 +00:00
Fix annoying TS error
This commit is contained in:
parent
55e1d21e93
commit
0721aa9d90
1 changed files with 2 additions and 1 deletions
|
|
@ -54,7 +54,8 @@ const EditorPane: React.FC<EditorPaneProps> = (props) => {
|
|||
markdown(),
|
||||
EditorView.domEventObservers({
|
||||
scroll(event) {
|
||||
onScrollTopUpdate?.(event.target.scrollTop);
|
||||
const target = event.target as HTMLElement;
|
||||
onScrollTopUpdate?.(target.scrollTop);
|
||||
},
|
||||
}),
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue