fix(frontend): migrate type changes

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-10-20 08:49:46 +02:00 committed by renovate[bot]
parent 2f5dadb981
commit 61362f9175
37 changed files with 80 additions and 79 deletions
frontend/src/components/render-page/hooks/sync-scroll

View file

@ -18,8 +18,8 @@ import { useCallback, useEffect, useRef } from 'react'
* @param scrollContainer The container to scroll in
*/
export const useScrollToLineMark = (
scrollState: ScrollState | undefined,
lineMarks: LineMarkerPosition[] | undefined,
scrollState: ScrollState | null,
lineMarks: LineMarkerPosition[],
contentLineCount: number,
scrollContainer: RefObject<HTMLElement>
): void => {