Quellcode durchsuchen

Remove not found disclaimer when full history is available (#11583)

Justin Starry vor 5 Jahren
Ursprung
Commit
f8221797c6
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      explorer/src/pages/TransactionDetailsPage.tsx

+ 1 - 1
explorer/src/pages/TransactionDetailsPage.tsx

@@ -74,7 +74,7 @@ function StatusCard({ signature }: Props) {
       <ErrorCard retry={() => fetchStatus(signature)} text="Fetch Failed" />
     );
   } else if (!status.data?.info) {
-    if (firstAvailableBlock !== undefined) {
+    if (firstAvailableBlock !== undefined && firstAvailableBlock > 1) {
       return (
         <ErrorCard
           retry={() => fetchStatus(signature)}