File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @iotabots/components" ,
3- "version" : " 0.0.46 " ,
3+ "version" : " 0.0.47 " ,
44 "private" : false ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ export const IdentityMenu: React.FC<BoxProps> = (props) => {
1616 const { onClick } = props
1717
1818 const load = async ( ) : Promise < boolean > => {
19- console . log ( 'Hello' )
2019 const URL =
2120 'https://raw.githubusercontent.com/iotabots/save-the-bots/main/all.txt'
2221
@@ -40,8 +39,7 @@ export const IdentityMenu: React.FC<BoxProps> = (props) => {
4039 airdropAddresses . push ( obj )
4140 }
4241
43- console . log ( 'airdropAddresses' , airdropAddresses )
44- console . log ( 'account' , account )
42+ console . log ( 'NFT Components: IdentityMenu.tsx, account' , account )
4543
4644 const iotabots : number [ ] = [ ]
4745 airdropAddresses . forEach ( ( obj ) => {
@@ -50,13 +48,11 @@ export const IdentityMenu: React.FC<BoxProps> = (props) => {
5048 }
5149 } )
5250 setBots ( iotabots )
53- console . log ( 'iotabots' , iotabots )
5451 return true
5552 }
5653
5754 React . useEffect ( ( ) => {
5855 load ( )
59- console . log ( 'bots' , bots )
6056 // eslint-disable-next-line react-hooks/exhaustive-deps
6157 } , [ account ] )
6258
@@ -65,7 +61,6 @@ export const IdentityMenu: React.FC<BoxProps> = (props) => {
6561 { account ? (
6662 < Box sx = { { cursor : 'pointer' } } onClick = { onClick } >
6763 < ProfileImage id = { bots [ 0 ] } />
68- { /* Account{account} */ }
6964 </ Box >
7065 ) : (
7166 < ConnectButton />
You can’t perform that action at this time.
0 commit comments