Skip to content

Commit 0f06954

Browse files
committed
fix: type
1 parent fb6707d commit 0f06954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react/lib/util/api-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export const createPayment = async (
9393
amount: string | number | undefined,
9494
address: string,
9595
rootUrl = config.apiBaseUrl,
96-
): Promise<string> => {
96+
): Promise<string | undefined> => {
9797
const { data, status } = await axios.post(
9898
`${rootUrl}/api/payments/paymentId`,
9999
{ amount, address }

0 commit comments

Comments
 (0)