[Dashboard] Fix explorer functions (#6352)
This commit is contained in:
@@ -286,14 +286,7 @@ export const ContractFunctionsPanel: React.FC<ContractFunctionsPanelProps> = ({
|
||||
}) => {
|
||||
// TODO: clean this up
|
||||
const functionsWithExtension = useMemo(() => {
|
||||
const allFunctions = fnsOrEvents
|
||||
.filter((f) => f.type === "function")
|
||||
.filter(
|
||||
(f) =>
|
||||
f.name !== "setPlatformFeeInfo" &&
|
||||
f.name !== "setFlatPlatformFeeInfo" &&
|
||||
f.name !== "setPlatformFeeType",
|
||||
);
|
||||
const allFunctions = fnsOrEvents.filter((f) => f.type === "function");
|
||||
const results: ExtensionFunctions[] = [];
|
||||
results.push({
|
||||
extension: "",
|
||||
|
||||
Reference in New Issue
Block a user