|
|
@@ -36,11 +36,6 @@ const Preview = React.forwardRef((props: Props, ref: RefObject<HTMLDivElement>):
|
|
|
className={`${moduleClass} ${fluidLayoutClass} ${pagePath === '/Sidebar' ? 'preview-sidebar' : ''}`}
|
|
|
ref={ref}
|
|
|
style={{ paddingBottom: pastEnd }}
|
|
|
- onScroll={(event: SyntheticEvent<HTMLDivElement>) => {
|
|
|
- if (props.onScroll != null) {
|
|
|
- props.onScroll(event.currentTarget.scrollTop);
|
|
|
- }
|
|
|
- }}
|
|
|
>
|
|
|
{ markdown != null && (
|
|
|
<RevisionRenderer rendererOptions={rendererOptions} markdown={markdown}></RevisionRenderer>
|