We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df227dc commit 78133dbCopy full SHA for 78133db
1 file changed
app/(dashboard)/admin/products/[id]/page.tsx
@@ -92,7 +92,6 @@ const DashboardProductDetails = ({
92
93
if (response.ok) {
94
const data = await response.json();
95
- console.log(data.message);
96
} else {
97
toast.error("File upload unsuccessful.");
98
}
@@ -224,8 +223,6 @@ const DashboardProductDetails = ({
224
223
className="select select-bordered"
225
value={product?.inStock}
226
onChange={(e) => {
227
- console.log(e.target.value);
228
-
229
setProduct({ ...product!, inStock: Number(e.target.value) });
230
}}
231
>
0 commit comments