File tree Expand file tree Collapse file tree 1 file changed +17
-22
lines changed
Expand file tree Collapse file tree 1 file changed +17
-22
lines changed Original file line number Diff line number Diff line change @@ -67,31 +67,26 @@ const IndexPage = ({ chainProfiles }: IndexPageProps) => {
6767 >
6868 { chainProfiles . map ( ( chainProfile ) => {
6969 return (
70- < Link
70+ < Button
7171 key = { chainProfile . identifier }
72+ sx = { {
73+ display : "flex" ,
74+ justifyContent : "center" ,
75+ padding : "1.75rem" ,
76+ height : "6rem" ,
77+ width : "18rem" ,
78+ } }
79+ disableTouchRipple
80+ component = { Link }
7281 href = { `/${ chainProfile . identifier } ` }
73- style = { { width : "100%" } }
74- passHref
82+ onClick = { ( ) => setChainLoading ( chainProfile . identifier ) }
7583 >
76- < Button
77- sx = { {
78- display : "flex" ,
79- justifyContent : "center" ,
80- padding : "1.75rem" ,
81- height : "6rem" ,
82- width : "18rem" ,
83- } }
84- disableTouchRipple
85- component = { "a" }
86- onClick = { ( ) => setChainLoading ( chainProfile . identifier ) }
87- >
88- { chainLoading !== chainProfile . identifier ? (
89- < ChainLogo chainProfile = { chainProfile } />
90- ) : (
91- < ChainLogoSpinner chainProfile = { chainProfile } />
92- ) }
93- </ Button >
94- </ Link >
84+ { chainLoading !== chainProfile . identifier ? (
85+ < ChainLogo chainProfile = { chainProfile } />
86+ ) : (
87+ < ChainLogoSpinner chainProfile = { chainProfile } />
88+ ) }
89+ </ Button >
9590 ) ;
9691 } ) }
9792 </ Box >
You can’t perform that action at this time.
0 commit comments