We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f47eda6 commit bc6309dCopy full SHA for bc6309d
apps/dashboard/src/@/components/contracts/functions/contract-function.tsx
@@ -68,7 +68,7 @@ const ContractFunction: React.FC<{
68
69
function ContractFunctionInner(props: ContractFunctionProps) {
70
const { contract, fn } = props;
71
- const [environment, setEnvironment] = useState<CodeEnvironment>("javascript");
+ const [environment, setEnvironment] = useState<CodeEnvironment>("api");
72
const functionSelectorQuery = useContractFunctionSelectors(contract);
73
const functionSelectors = functionSelectorQuery.data || [];
74
const isERC721Query = useReadContract(ERC721Ext.isERC721, { contract });
0 commit comments