Show transaction history for deleted accounts

This commit is contained in:
Justin Starry
2020-05-20 23:51:25 +08:00
committed by Michael Vines
parent 7d00398662
commit 5946817978
3 changed files with 7 additions and 10 deletions

View File

@@ -178,7 +178,7 @@ function HistoryCard({ pubkey }: { pubkey: PublicKey }) {
const info = useAccountInfo(address);
const refresh = useFetchAccountHistory();
if (!info || !info.details) {
if (!info || info.lamports === undefined) {
return null;
} else if (info.status === Status.FetchingHistory) {
return <LoadingCard />;