flowfixme

This commit is contained in:
Sean Yesmunt 2021-02-01 13:31:15 -05:00
parent 599f9e106e
commit 19275f8f3d

View file

@ -14,6 +14,7 @@ function PublishPage(props: Props) {
function scrollToTop() {
const mainContent = document.querySelector('main');
if (mainContent) {
// $FlowFixMe
mainContent.scrollTo({
top: 0,
behavior: 'smooth',