This commit is contained in:
1 parent
e2b6d2acae
commit
86cfa4b3c8
1 file changed
+1
-1
@@ -136,7 +136,7 @@ export default function ProductPage({
|
||||
const router = useRouter();
|
||||
const [product, setProduct] = useState<Product | null>(initialProduct ?? null);
|
||||
const [allProducts, setAllProducts] = useState<Product[]>([]);
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
const [isLoading, setIsLoading] = useState(!initialProduct);
|
||||
const [itemQuantity, setItemQuantity] = useState(1);
|
||||
const [showRefillModal, setShowRefillModal] = useState(false);
|
||||
const [isMounted, setIsMounted] = useState(false);
|
||||
|
||||
Reference in new issue
Block a user