yohei0125 hace 4 años
padre
commit
4a429dacb6

+ 1 - 1
packages/app/src/components/SearchPage/SearchResultContent.tsx

@@ -71,7 +71,7 @@ const SearchResultContent: FC<Props> = (props: Props) => {
     const observerCallback = (mutationRecords) => {
       mutationRecords.forEach((record) => {
         const targetId = record.target.id;
-        if (targetId === 'wiki') return;
+        if (targetId !== 'wiki') return;
         scrollTo(scrollElement);
       });
     };