fix broken compile

This commit is contained in:
Sebastian 2023-01-09 08:49:08 -03:00
parent 9b04d8bf35
commit efb5bf9de4
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -160,7 +160,7 @@ export function useComponentState({
onSuccess(resp.transactionId); onSuccess(resp.transactionId);
} catch (e) { } catch (e) {
if (e instanceof TalerError) { if (e instanceof TalerError) {
setOperationError(e.errorDetail); // setOperationError(e.errorDetail);
} }
console.error(e); console.error(e);
throw Error("error trying to accept"); throw Error("error trying to accept");