fix to show loading while tx details are being fetched

This commit is contained in:
Arrowana 2022-06-12 23:16:24 +02:00 committed by Steven Luscher
parent a2c180dc0b
commit 11e6e4118b
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ function DetailsSection({ signature }: SignatureProps) {
if (!status?.data?.info) {
return null;
} else if (!details) {
} else if (!details || details.status === FetchStatus.Fetching) {
return <LoadingCard />;
} else if (details.status === FetchStatus.FetchFailed) {
return <ErrorCard retry={refreshDetails} text="Failed to fetch details" />;