hata ayıklama ve kod temizliği
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user