We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 730c74d commit 2b9a950Copy full SHA for 2b9a950
2 files changed
src/app/orders/[orderId]/page.tsx
@@ -3,7 +3,7 @@ import Image from 'next/image';
3
import Link from 'next/link';
4
import { getOrderDetail } from '@/app/actions/order';
5
import { CloseButton } from '@/components/ui/close-button';
6
-import { notFound } from 'next/dist/client/components/navigation';
+import { notFound } from 'next/navigation';
7
8
export const metadata: Metadata = {
9
title: '주문 상세 | OnGil',
src/hooks/use-wishlist.ts
@@ -32,6 +32,7 @@ export function useWishlist({
32
);
33
34
const toggle = () => {
35
+ if (isPending) return;
36
const previousState = optimisticState;
37
const nextIsLiked = !previousState.isLiked;
38
0 commit comments