flowfixme
This commit is contained in:
parent
599f9e106e
commit
19275f8f3d
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ function PublishPage(props: Props) {
|
|||
function scrollToTop() {
|
||||
const mainContent = document.querySelector('main');
|
||||
if (mainContent) {
|
||||
// $FlowFixMe
|
||||
mainContent.scrollTo({
|
||||
top: 0,
|
||||
behavior: 'smooth',
|
||||
|
|
Loading…
Reference in a new issue