Explorar o código

Remove hardcoded timestamp

Mauricio Araujo %!s(int64=2) %!d(string=hai) anos
pai
achega
7c287dacea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
     }
 
-    const diff = timeFrom("2024-04-17T00:00:00.000Z");
+    const diff = timeFrom(timestamp);
     if (diff.when === "future") {
       return false;
     }