File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/modal/src/ui/components/ConnectWallet/ConnectWalletList Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -116,18 +116,18 @@ function ConnectWalletList(props: ConnectWalletListProps) {
116116 buttonRadius,
117117 } = props ;
118118
119- const [ showMoreWallets , setShowMoreWallets ] = useState ( true ) ;
119+ const [ showMoreWalletsButton , setShowMoreWalletsButton ] = useState ( true ) ;
120120
121121 const onShowMoreWalletsClick = ( ) => {
122- setShowMoreWallets ( false ) ;
122+ setShowMoreWalletsButton ( false ) ;
123123 handleMoreWallets ( ) ;
124124 } ;
125125
126126 return (
127127 < >
128128 < ul
129129 className = { cn ( "w3a--overflow-y-auto w3a--flex w3a--flex-col w3a--gap-y-2 w3a--h-[280px] w3a--social-container w3a--pr-2.5" , {
130- "w3a--h-[328px]" : ! showMoreWallets ,
130+ "w3a--h-[328px]" : ! showMoreWalletsButton ,
131131 } ) }
132132 >
133133 { externalButtons . length === 0 ? (
@@ -143,7 +143,7 @@ function ConnectWalletList(props: ConnectWalletListProps) {
143143 />
144144 ) }
145145 </ ul >
146- { showMoreWallets && totalExternalWalletsCount > 15 && ! isLoading && initialWalletCount < totalExternalWalletsCount && (
146+ { showMoreWalletsButton && totalExternalWalletsCount > 15 && ! isLoading && initialWalletCount < totalExternalWalletsCount && (
147147 < MoreWalletsButton
148148 totalExternalWalletsCount = { totalExternalWalletsCount }
149149 initialWalletCount = { initialWalletCount }
You can’t perform that action at this time.
0 commit comments