From 64ceaf2c781dac73b2ac9b13b49a763e14780ae1 Mon Sep 17 00:00:00 2001
From: cesarhenrq <cesaarhvb@gmail.com>
Date: Mon, 9 Oct 2023 07:40:19 -0300
Subject: [PATCH] feat: add null to payload type

---
 src/contexts/user/actions.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/contexts/user/actions.ts b/src/contexts/user/actions.ts
index f6415cc..8fa919c 100644
--- a/src/contexts/user/actions.ts
+++ b/src/contexts/user/actions.ts
@@ -1,6 +1,6 @@
 export type Action = {
   type: string;
-  payload: User;
+  payload: User | null;
 };
 
 export const setUser = (user: User) => {