Closed victors1681 closed 1 year ago
Thanks for reporting the issue, @victors1681! Which version of @faststore/core
are you using?
@icazevedo I'm using "@faststore/core": "2.1.5", and I also tried with the latest 2.1.28 same thing
@victors1681 it's weird that you had this issue when using the latest version last week. This week we've updated the Section Override API with types and also made a few changes to the API itself. Could you update your @faststore/core
version to the latest one and follow the docs again? They've been updated as well, with more updates to come.
Describe the bug I was trying to follow the instructions about how to overwrite components and if we don't pass down all the props we run into the following issue.
https://www.faststore.dev/docs/building-sections/overriding-a-native-component
Expected behavior After pass down only one or multiples it should work without list all the props at once.
Current behavior We we use the example in the documentation we get the following
Possible Solution Initialize the props with the default values node_modules/@faststore/core/src/components/sections/ProductDetails/Overrides.tsx