Skip to content

Commit 7152624

Browse files
fixed sdk/simulateExecuteOrder
1 parent c7f8d5e commit 7152624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/src/utils/simulateExecuteOrder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export async function simulateExecuteOrder(sdk: GmxSdk, p: SimulateExecuteParams
108108
}
109109
);
110110
} catch (txnError) {
111-
let msg: React.ReactNode = undefined;
111+
let msg: string | undefined = undefined;
112112

113113
try {
114114
const errorData = extractDataFromError(txnError?.info?.error?.message) ?? extractDataFromError(txnError?.message);

0 commit comments

Comments
 (0)