Merged all changes from frontend branch w/ main branch up to commit 0d757995bb
This commit is contained in:
@@ -45,6 +45,7 @@ const Ai = () => {
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="min-h-screen w-full flex items-center justify-center max-h-screen">
|
||||
<div className="max-w-md mx-auto p-6 bg-white shadow rounded-lg">
|
||||
<h2 className="text-2xl font-bold mb-4 text-center">
|
||||
Plant disease prediction
|
||||
@@ -72,6 +73,7 @@ const Ai = () => {
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -37,7 +37,6 @@ const AddFarm = () => {
|
||||
setSuccess(true);
|
||||
setError(null);
|
||||
setIsModalOpen(false);
|
||||
window.location.reload();
|
||||
} catch (err) {
|
||||
setError(err.message);
|
||||
setSuccess(false);
|
||||
|
||||
Reference in New Issue
Block a user