hata ayıklama ve kod temizliği

This commit is contained in:
2026-01-11 23:58:09 +03:00
parent b2a915240f
commit 32009b4886
22 changed files with 117 additions and 92 deletions

View File

@@ -94,7 +94,7 @@ export function ProductForm({ initialData }: ProductFormProps) {
toast.success(initialData ? "Ürün güncellendi" : "Ürün başarıyla oluşturuldu")
router.push("/dashboard/products")
router.refresh()
} catch (error) {
} catch {
toast.error("Bir aksilik oldu")
} finally {
setLoading(false)