diff --git a/packages/nextjs/app/debug/_components/contract/ModuleResource.tsx b/packages/nextjs/app/debug/_components/contract/ModuleResource.tsx index cad9adf..5fe8749 100644 --- a/packages/nextjs/app/debug/_components/contract/ModuleResource.tsx +++ b/packages/nextjs/app/debug/_components/contract/ModuleResource.tsx @@ -11,8 +11,7 @@ type ModuleResourceProps = { const GROUP_ARRAYS_AFTER_LENGTH = 100; const COLLAPSE_STRINGS_AFTER_LENGTH = 80; -const MAX_CARD_HEIGHT = 500; - + export const ModuleResource = ({ key, resource, @@ -25,6 +24,7 @@ export const ModuleResource = ({ <>
Error: {error.type}
} + {error.message &&Error message: {error.message}
} + >; + } if (!data?.length) { return <>No resources>; diff --git a/packages/nextjs/components/scaffold-move/CustomConnectButton/AddressInfoDropdown.tsx b/packages/nextjs/components/scaffold-move/CustomConnectButton/AddressInfoDropdown.tsx index 365c356..1dea269 100644 --- a/packages/nextjs/components/scaffold-move/CustomConnectButton/AddressInfoDropdown.tsx +++ b/packages/nextjs/components/scaffold-move/CustomConnectButton/AddressInfoDropdown.tsx @@ -44,7 +44,7 @@ export const AddressInfoDropdown = ({ useOutsideClick(dropdownRef, closeDropdown); - const { disconnect, wallet } = useWallet(); + const { disconnect } = useWallet(); return ( <>