@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.mjs CHANGED
@@ -332,7 +332,7 @@ function reevitReducer(state, action) {
332
332
  case "INIT_ERROR":
333
333
  return { ...state, status: "failed", error: action.payload };
334
334
  case "SELECT_METHOD":
335
- return { ...state, status: "method_selected", selectedMethod: action.payload };
335
+ return { ...state, status: "method_selected", selectedMethod: action.payload, error: null };
336
336
  case "PROCESS_START":
337
337
  return { ...state, status: "processing", error: null };
338
338
  case "PROCESS_SUCCESS":