From 5e59a58cbb46a400726ad967ef55761e03e5cbc0 Mon Sep 17 00:00:00 2001 From: aapush01 Date: Fri, 10 May 2024 23:12:18 +0530 Subject: [PATCH 1/3] modify in count.js file --- src/store/atoms/count.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/atoms/count.js b/src/store/atoms/count.js index 0ff7aef..3cc56cf 100644 --- a/src/store/atoms/count.js +++ b/src/store/atoms/count.js @@ -10,7 +10,7 @@ export const evenSelector = selector({ key: "evenSelector", get: ({get}) => { const count = get(countAtom); - return count % 2; + return count % 2 === 0; } }); From 4a50c7a3e51ce93a23f09c7e6b3b298dfbe2ba81 Mon Sep 17 00:00:00 2001 From: Aapush01 Date: Sat, 11 May 2024 23:06:24 +0530 Subject: [PATCH 2/3] Update --- src/components/Dashboard.jsx | 2 +- src/components/Landing.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Dashboard.jsx b/src/components/Dashboard.jsx index 5c66ee7..042a73a 100644 --- a/src/components/Dashboard.jsx +++ b/src/components/Dashboard.jsx @@ -3,6 +3,6 @@ import { useEffect, useState } from "react" export default function Dashboard() { return
- Dashboard page + Dashboard page!
} diff --git a/src/components/Landing.jsx b/src/components/Landing.jsx index 3b3aff9..5409875 100644 --- a/src/components/Landing.jsx +++ b/src/components/Landing.jsx @@ -2,6 +2,6 @@ export default function Landing() { return
- Landing page + Landing page!
} \ No newline at end of file From 516d590c9ebc7e7130d6d5e418a6c38c91135a1a Mon Sep 17 00:00:00 2001 From: Aapush01 Date: Sat, 11 May 2024 23:20:29 +0530 Subject: [PATCH 3/3] Add landing page --- src/components/Landing.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Landing.jsx b/src/components/Landing.jsx index 5409875..2678fc2 100644 --- a/src/components/Landing.jsx +++ b/src/components/Landing.jsx @@ -2,6 +2,6 @@ export default function Landing() { return
- Landing page! + Landing page here.
} \ No newline at end of file