Skip to content

Commit

Permalink
fixed sdk/simulateExecuteOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
hubert-de-lalye committed Oct 31, 2024
1 parent c7f8d5e commit 7152624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/utils/simulateExecuteOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export async function simulateExecuteOrder(sdk: GmxSdk, p: SimulateExecuteParams
}
);
} catch (txnError) {
let msg: React.ReactNode = undefined;
let msg: string | undefined = undefined;

try {
const errorData = extractDataFromError(txnError?.info?.error?.message) ?? extractDataFromError(txnError?.message);
Expand Down

0 comments on commit 7152624

Please sign in to comment.