Description
Enhance the merchStore class in src/entities/merch/model/store.ts with better error handling and type safety.
Tasks
Context
This issue was created as a follow-up to review comments on PR #889 that were valid but out of scope for that feature implementation.
References
Description
Enhance the
merchStoreclass insrc/entities/merch/model/store.tswith better error handling and type safety.Tasks
loadMerchCatalogmethod to return an empty array instead ofundefinedwhen errors occur or when the request is not successfulContext
This issue was created as a follow-up to review comments on PR #889 that were valid but out of scope for that feature implementation.
References