feat: Set up RTK query for the statemanagement
This commit is contained in:
@@ -41,13 +41,7 @@ export const HeroSecn = () => {
|
||||
<button
|
||||
type="button"
|
||||
className="text-black w-auto max-w-lg bg-white hover:bg-purple-200 font-medium rounded-full text-sm py-2 px-4 text-center"
|
||||
>
|
||||
{isLoggedIn ? (
|
||||
<Link to={"/user/dashboard"}>Start Managing Your Farm</Link>
|
||||
) : (
|
||||
<Link to={"/user/login"}>Log In</Link>
|
||||
)}
|
||||
</button>
|
||||
></button>
|
||||
</div>
|
||||
<div className="w-full md:w-4/5 object-contain flex justify-center items-center">
|
||||
<img
|
||||
|
||||
@@ -112,7 +112,7 @@ const Testimonial = () => {
|
||||
symptoms.
|
||||
</p>
|
||||
<a
|
||||
href="/predict"
|
||||
href="/ai"
|
||||
className="inline-flex font-medium items-center text-blue-600 hover:underline"
|
||||
>
|
||||
Check Out
|
||||
|
||||
Reference in New Issue
Block a user