fix to show loading while tx details are being fetched
This commit is contained in:
parent
a2c180dc0b
commit
11e6e4118b
|
@ -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" />;
|
||||
|
|
Loading…
Reference in New Issue