@reevit/react 0.5.2 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -338,7 +338,7 @@ function reevitReducer(state, action) {
338
338
  case "INIT_ERROR":
339
339
  return { ...state, status: "failed", error: action.payload };
340
340
  case "SELECT_METHOD":
341
- return { ...state, status: "method_selected", selectedMethod: action.payload };
341
+ return { ...state, status: "method_selected", selectedMethod: action.payload, error: null };
342
342
  case "PROCESS_START":
343
343
  return { ...state, status: "processing", error: null };
344
344
  case "PROCESS_SUCCESS":