Skip to content

Commit

Permalink
Merge pull request #88 from blocto/fix/adjust-revert-default-value
Browse files Browse the repository at this point in the history
Fix/adjust revert default value
  • Loading branch information
q20274982 authored Jan 10, 2024
2 parents 7b834fa + af7a2a8 commit 3efff6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/EvmEditors/EvmBatchTxEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ interface EvmBatchTxEditorProps {
}

const RevertOptionMap: Record<string, any> = {
true: true,
false: false,
true: true,
unset: undefined,
};
const emptyTx = {};
Expand All @@ -31,7 +31,7 @@ const EvmBatchTxEditor = ({
setRequestObject,
account,
}: EvmBatchTxEditorProps): ReactJSXElement => {
const [revert, setRevert] = useState<string>("true");
const [revert, setRevert] = useState<string>("false");
const [txs, setTxs] = useState<any[]>([emptyTx]);

useEffect(() => {
Expand Down

0 comments on commit 3efff6d

Please sign in to comment.