File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
web/src/components/DisputePreview Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ interface IAlias {
30
30
}
31
31
32
32
const AliasDisplay : React . FC < IAlias > = ( { alias } ) => {
33
- const { data : addressFromENS , isLoading } = useEnsAddress ( {
33
+ const { data : addressFromENS , isFetching } = useEnsAddress ( {
34
34
query : {
35
35
// if alias.address is not an Address, we treat it as ENS and try to fetch address from there
36
36
enabled : ! isAddress ( alias . address ) ,
@@ -44,9 +44,9 @@ const AliasDisplay: React.FC<IAlias> = ({ alias }) => {
44
44
45
45
return (
46
46
< AliasContainer >
47
- { isLoading ? < Skeleton width = { 30 } height = { 24 } /> : < IdenticonOrAvatar address = { address } size = "24" /> }
47
+ { isFetching ? < Skeleton width = { 30 } height = { 24 } /> : < IdenticonOrAvatar address = { address } size = "24" /> }
48
48
< TextContainer >
49
- { isLoading ? < Skeleton width = { 30 } height = { 24 } /> : < AddressOrName address = { address } /> }
49
+ { isFetching ? < Skeleton width = { 30 } height = { 24 } /> : < AddressOrName address = { address } /> }
50
50
{ ! isUndefined ( alias . name ) && alias . name !== "" ? < label > ({ alias . name } )</ label > : null }
51
51
</ TextContainer >
52
52
</ AliasContainer >
You can’t perform that action at this time.
0 commit comments