diff --git a/components/cart/delete-item-button.tsx b/components/cart/delete-item-button.tsx index bc08db40a3..c3d3e5e518 100644 --- a/components/cart/delete-item-button.tsx +++ b/components/cart/delete-item-button.tsx @@ -5,6 +5,7 @@ import clsx from 'clsx'; import LoadingDots from 'components/loading-dots'; import type { CartItem } from 'lib/sylius/types'; import { useFormState, useFormStatus } from 'react-dom'; +import { removeItem } from './actions'; function SubmitButton() { const { pending } = useFormStatus();