Skip to content

Commit

Permalink
🐛 remove item button
Browse files Browse the repository at this point in the history
  • Loading branch information
DuvCharles committed May 1, 2024
1 parent 0d22cf8 commit 526828c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/cart/delete-item-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 526828c

Please sign in to comment.