Skip to content

Commit

Permalink
Show read only functions, just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
Jør∂¡ committed Mar 21, 2024
1 parent 2ba6f36 commit c61fe00
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/input/function-selector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ export const FunctionSelector = ({
};

const functionAbiList = (abi || []).filter(
(item) =>
item.type === "function" &&
!["pure", "view"].includes(item.stateMutability)
(item) => item.type === "function"
);

return (
Expand Down

0 comments on commit c61fe00

Please sign in to comment.