Skip to content

Commit

Permalink
areYouSureClearCartModal with lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
nicitaacom committed Nov 7, 2023
1 parent f0b0c8d commit 4c05c44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/ui/Modals/CartModal/CartModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ interface CartModalProps {
export function CartModal({ label }: CartModalProps) {
const router = useRouter()
const cartStore = useCartStore()
const AreYouSureClearCartModal = useAreYouSureClearCartModal()
const areYouSureClearCartModal = useAreYouSureClearCartModal()
const toast = useToast()
const { isAuthenticated } = useUserStore()

Expand Down Expand Up @@ -360,7 +360,7 @@ export function CartModal({ label }: CartModalProps) {
Total: 
<span>{formatCurrency(cartStore.getProductsPrice())}</span>
</h1>
<Button variant="danger" onClick={AreYouSureClearCartModal.openModal}>
<Button variant="danger" onClick={areYouSureClearCartModal.openModal}>
Clear cart
</Button>
</div>
Expand Down

0 comments on commit 4c05c44

Please sign in to comment.