Skip to content

Commit

Permalink
it all works
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed Sep 7, 2023
1 parent fd4c180 commit 4a5e81b
Show file tree
Hide file tree
Showing 4 changed files with 130 additions and 229 deletions.
14 changes: 10 additions & 4 deletions src/components/Modals/AddAddress/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import {
FormControl,
FormHelperText,
FormLabel,
ListItem,
ListItemIcon,
ListItemText,
MenuItem,
TextField,
} from '@mui/material';
Expand Down Expand Up @@ -126,10 +128,14 @@ export const AddAddressModal = ({ open, onClose }: AddAddressModalProps) => {
>
{Object.entries(chains).map(([id, chain], index) => (
<MenuItem value={id} key={index}>
<ListItemIcon>
<Image src={chain.logo} alt='logo' width={32} height={32} />
</ListItemIcon>
{chain.name}
<ListItem>
<ListItemIcon sx={{ mr: '8px' }}>
<Image src={chain.logo} alt='logo' width={32} height={32} />
</ListItemIcon>
<ListItemText>
{chain.name}
</ListItemText>
</ListItem>
</MenuItem>
))}
</TextField>
Expand Down
6 changes: 3 additions & 3 deletions src/contracts/addressbook/metadata.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"source": {
"hash": "0x4b89e660114f8ff737a566aceadf6e154e8eaa63fed72acf47bd2dafa4739605",
"language": "ink! 4.2.0",
"hash": "0xad61ee4dec538e61854c87b9f4372413d50bbdf7bd4061e2425010aae6ec2f32",
"language": "ink! 4.3.0",
"compiler": "rustc 1.68.0-nightly",
"build_info": {
"build_mode": "Debug",
"cargo_contract_version": "2.0.0-rc.1",
"cargo_contract_version": "3.2.0",
"rust_toolchain": "nightly-aarch64-apple-darwin",
"wasm_opt_settings": {
"keep_debug_symbols": false,
Expand Down
1 change: 0 additions & 1 deletion src/contracts/identity/context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ const IdentityContractProvider = ({ children }: Props) => {
}

setLoadingChains(true);
console.log(contract);
try {
const result = await contractQuery(
api,
Expand Down
Loading

0 comments on commit 4a5e81b

Please sign in to comment.