2
0
Naoki427 9 сар өмнө
parent
commit
dbf714ca9b

+ 1 - 1
apps/app/src/components/PageView/PageView.tsx

@@ -89,7 +89,7 @@ export const PageView = (props: Props): JSX.Element => {
 
     const target = document.getElementById(decodeURIComponent(targetId));
 
-    if (target) {
+    if (target != null) {
       target.scrollIntoView();
       hasScrolledRef.current = true;
     }