Skip to content

Commit

Permalink
remove update cache call on order form update
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasecdb committed Feb 19, 2020
1 parent 55ad0a8 commit 92a6425
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion react/OrderForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ export const OrderFormProvider: FC = ({ children }) => {
}, [data, error, loading, updateOrderFormCache])

useEffect(() => {
updateOrderFormCache(orderForm)
saveLocalOrderForm(orderForm)
}, [orderForm, updateOrderFormCache])

Expand Down

0 comments on commit 92a6425

Please sign in to comment.