Skip to content

Commit

Permalink
fix: useUnitMultiplier as optional (#2303)
Browse files Browse the repository at this point in the history
## What's the purpose of this pull request?

<!--- Considering the context, what is the problem we'll solve? Where in
VTEX's big picture our issue fits in? Write a tweet about the context
and the problem itself. --->

## How it works?

<!--- Tell us the role of the new feature, or component, in its context.
--->

## How to test it?

<!--- Describe the steps with bullet points. Is there any external link
that can be used to better test it or an example? --->

### Starters Deploy Preview

<!--- Add a link to a deploy preview from `gatsby.store` AND
`nextjs.store` with this branch being used. --->

<!--- Tip: You can get an installable version of this branch from the
CodeSandbox generated when this PR is created. --->

## References

<!--- Spread the knowledge: is there any content you used to create this
PR that is worth sharing? --->

<!--- Extra tip: adding references to related issues or mentioning
people important to this PR may be good for the documentation and
reviewing process --->
  • Loading branch information
emersonlaurentino authored May 7, 2024
1 parent bdb7b6c commit e4823e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/cart/CartItem/CartItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function useCartItemEvent() {

interface Props {
item: ICartItem
useUnitMultiplier: boolean
useUnitMultiplier?: boolean
}

function CartItem({ item, useUnitMultiplier = false }: Props) {
Expand Down

0 comments on commit e4823e8

Please sign in to comment.