From 4a022191faf37566e4221c1a6f042c6645cfccbe Mon Sep 17 00:00:00 2001 From: vinaybadgujar102 Date: Sun, 26 May 2024 10:34:43 +0530 Subject: [PATCH] change default of displayReschedule state to be null --- src/store/TaskState.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/TaskState.ts b/src/store/TaskState.ts index f98fb4bd9..6afb794d1 100644 --- a/src/store/TaskState.ts +++ b/src/store/TaskState.ts @@ -3,5 +3,5 @@ import { atom } from "recoil"; export const displayReschedule = atom({ key: "displayReschedule", - default: {} as ITask | null, + default: null as ITask | null, });