fix: replace to invalidate context

This commit is contained in:
Aslam H
2024-10-30 05:40:38 +07:00
parent fcffba23f1
commit 5294ade0ab
7 changed files with 20 additions and 9 deletions

View File

@@ -190,7 +190,10 @@ const createExtensions = ({
},
onValidationError: (errors) => {
errors.forEach((error) => {
console.log("File validation error", error)
toast.error("Image validation error", {
position: "bottom-right",
description: error.reason,
})
})
},
}),