···8484 pageType: "canvas" | "doc";
8585 drawerOpen: boolean | undefined;
8686}) => {
8787- let { ref } = usePreserveScroll(props.id);
8787+ let { ref } = usePreserveScroll<HTMLDivElement>(props.id);
8888 return (
8989 // this div wraps the contents AND the page options.
9090 // it needs to be its own div because this container does NOT scroll, and therefore doesn't clip the absolutely positioned pageOptions