File tree 1 file changed +10
-9
lines changed
1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -193,13 +193,6 @@ const Table = () => {
193
193
</ div >
194
194
) ;
195
195
}
196
- if ( ! stats ) {
197
- return (
198
- < div style = { { margin : "8rem" } } >
199
- < LoadingOverlay message = "Loading Sourcify stats" />
200
- </ div >
201
- ) ;
202
- }
203
196
204
197
const testRunCircleURL =
205
198
testReportObject &&
@@ -251,8 +244,16 @@ const Table = () => {
251
244
) }
252
245
< ReactTooltip effect = "solid" />
253
246
< div >
254
- < h2 > Chains by Verified Contracts</ h2 >
255
- < Chart stats = { stats } sourcifyChainMap = { sourcifyChainMap } sourcifyChains = { sourcifyChains } />
247
+ { stats ? (
248
+ < >
249
+ < h2 > Chains by Verified Contracts</ h2 >
250
+ < Chart stats = { stats } sourcifyChainMap = { sourcifyChainMap } sourcifyChains = { sourcifyChains } />
251
+ </ >
252
+ ) : (
253
+ < div style = { { margin : "8rem" } } >
254
+ < LoadingOverlay message = "Loading Sourcify stats" />
255
+ </ div >
256
+ ) }
256
257
</ div >
257
258
< div >
258
259
< h2 > Chains by Type of Support</ h2 >
You can’t perform that action at this time.
0 commit comments