Skip to content

Commit

Permalink
Update packages/commerce-sdk-react/src/components/StorefrontPreview/s…
Browse files Browse the repository at this point in the history
…torefront-preview.tsx

Co-authored-by: Will Harney <[email protected]>
Signed-off-by: Ben Chypak <[email protected]>
  • Loading branch information
bendvc and wjhsf authored Nov 14, 2023
1 parent 4eaf71d commit 6dd256a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ StorefrontPreview.propTypes = {
// to get to a place where both these props are simply optional and we will provide default implementations.
// This would make the API simpler to use.
getToken: CustomPropTypes.requiredFunctionWhenEnabled,
onContextChange: CustomPropTypes.requiredFunctionWhenEnabled
onContextChange: PropTypes.func
}

export default StorefrontPreview

0 comments on commit 6dd256a

Please sign in to comment.