From 60167c01115a791d16497cadb82fd019ced7f67a Mon Sep 17 00:00:00 2001 From: Pavel Zavora Date: Thu, 24 Feb 2022 17:12:07 +0100 Subject: [PATCH] fix(ui): repair type definition of scrolltop fn --- ui/src/reusable_ui/components/page_layout/PageContents.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/reusable_ui/components/page_layout/PageContents.tsx b/ui/src/reusable_ui/components/page_layout/PageContents.tsx index 8d5bcc860..b1e1eb5fc 100644 --- a/ui/src/reusable_ui/components/page_layout/PageContents.tsx +++ b/ui/src/reusable_ui/components/page_layout/PageContents.tsx @@ -1,5 +1,5 @@ // Libraries -import React, {Component} from 'react' +import React, {MouseEvent, Component} from 'react' import classnames from 'classnames' // Components @@ -12,7 +12,7 @@ interface Props { fullWidth?: boolean scrollable?: boolean inPresentationMode?: boolean - setScrollTop?: () => void + setScrollTop?: (e: MouseEvent) => void className?: string }