We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb6707d commit 0f06954Copy full SHA for 0f06954
react/lib/util/api-client.ts
@@ -93,7 +93,7 @@ export const createPayment = async (
93
amount: string | number | undefined,
94
address: string,
95
rootUrl = config.apiBaseUrl,
96
-): Promise<string> => {
+): Promise<string | undefined> => {
97
const { data, status } = await axios.post(
98
`${rootUrl}/api/payments/paymentId`,
99
{ amount, address }
0 commit comments