Jelajahi Sumber

Deleted the redundant code based off the FB

Shunm634-source 3 tahun lalu
induk
melakukan
53f77649c7

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

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