Skip to content

Commit

Permalink
remove extra notification from WriteOnlyFunctionform
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Jun 24, 2024
1 parent 3cc3225 commit 05fd361
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
} from "~~/components/scaffold-eth";
import { useTransactor } from "~~/hooks/scaffold-eth";
import { useAbiNinjaState } from "~~/services/store/store";
import { getParsedError, notification } from "~~/utils/scaffold-eth";

type WriteOnlyFunctionFormProps = {
abi: Abi;
Expand Down Expand Up @@ -58,8 +57,7 @@ export const WriteOnlyFunctionForm = ({
await writeTxn(makeWriteWithParams);
onChange();
} catch (e: any) {
const message = getParsedError(e);
notification.error(message);
console.error("⚡️ ~ file: WriteOnlyFunctionForm.tsx:handleWrite ~ error", e);
}
}
};
Expand Down

0 comments on commit 05fd361

Please sign in to comment.