Yuki Takei 2 лет назад
Родитель
Сommit
6e97ac4198
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/app/src/components/Page/PageView.tsx

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

@@ -83,7 +83,7 @@ export const PageView = (props: Props): JSX.Element => {
 
     const targetId = hash.slice(1);
 
-    const target = document.getElementById(targetId);
+    const target = document.getElementById(decodeURIComponent(targetId));
     target?.scrollIntoView();
 
   }, [isCommentsLoaded]);