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

This commit is contained in:
Justin Starry
2020-08-12 23:09:57 +08:00
committed by GitHub
parent a992bb5f94
commit f8221797c6

View File

@ -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)}