Parcourir la source

Remove hardcoded timestamp

Mauricio Araujo il y a 2 ans
Parent
commit
7c287dacea
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      dashboard/src/main/home/Home.tsx

+ 1 - 1
dashboard/src/main/home/Home.tsx

@@ -377,7 +377,7 @@ const Home: React.FC<Props> = (props) => {
       return true;
       return true;
     }
     }
 
 
-    const diff = timeFrom("2024-04-17T00:00:00.000Z");
+    const diff = timeFrom(timestamp);
     if (diff.when === "future") {
     if (diff.when === "future") {
       return false;
       return false;
     }
     }