소스 검색

Deleted the redundant code based off the FB

Shunm634-source 3 년 전
부모
커밋
53f77649c7
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      packages/app/src/components/RevisionComparer/RevisionComparer.jsx

+ 0 - 2
packages/app/src/components/RevisionComparer/RevisionComparer.jsx

@@ -40,8 +40,6 @@ const RevisionComparer = (props) => {
   }
   }
 
 
   const generateURL = (pathName) => {
   const generateURL = (pathName) => {
-    if (pathName == null) return null;
-
     const { origin } = window.location;
     const { origin } = window.location;
 
 
     const url = new URL(pathName, origin);
     const url = new URL(pathName, origin);