[Dashboard] Fix explorer functions (#6352)

This commit is contained in:
Yash
2025-02-26 09:58:06 -08:00
committed by GitHub
parent 0df427576d
commit 3f6d525b51
@@ -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: "",