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 70f051d commit 57fb7fcCopy full SHA for 57fb7fc
apps/dashboard/src/contract-ui/tabs/code/components/code-overview.tsx
@@ -903,11 +903,14 @@ export const CodeOverview: React.FC<CodeOverviewProps> = ({
903
?.filter(
904
(f) => f.type === "function" || f.type === "event",
905
)
906
- ?.find((f) =>
907
- f.type === "function"
908
- ? f.name ===
909
- (tab === "read" ? read?.name : write?.name)
910
- : f.name === event?.name,
+ ?.find(
+ (f) =>
+ f.name ===
+ (tab === "read"
+ ? read?.name
911
+ : tab === "write"
912
+ ? write?.name
913
+ : event?.name),
914
915
?.inputs.map((i) => i.name || "") || [],
916
0 commit comments