Skip to content

Commit

Permalink
fix cookie too large error
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminpochat committed Dec 1, 2024
1 parent 2f09091 commit d88d169
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/app/src/domains/sale/views/CustomerOrderForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export default function CustomerOrderForm() {
function validateItems() {
setCompletedSteps([...completedSteps, SET_ITEMS_STEP])
setActiveStep(AUTHENTICATION_STEP)
order?.items?.forEach(item => item.packageLot.photo = '')
setCookie('pendingOrder', order, {path: "/", maxAge: 3600})
}

Expand Down

0 comments on commit d88d169

Please sign in to comment.