remix-params-helper icon indicating copy to clipboard operation
remix-params-helper copied to clipboard

Improvements

Open hakimLyon opened this issue 1 year ago • 1 comments

This PR fixes and improves the existing code. The changes made include:

  • Type and import corrections to match the latest Zod specifications.
  • Fixing error handling and value retrieval in the getParamsInternal function.
  • Fixing form data retrieval in the getFormData and getFormDataOrFail functions.
  • Improving function typing and return values.
  • Code optimizations and cleanup.

I have tested the modifications locally, and they appear to be working correctly. Please review the changes and merge the PR if everything looks good.

hakimLyon avatar Jul 19 '23 01:07 hakimLyon

Thanks! I'll take a look.

kiliman avatar Jul 19 '23 12:07 kiliman