From 2f1eefc5cc9ef9f59500dc4e1b4fef0c73f5da39 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Mon, 26 Oct 2020 10:10:34 -0300 Subject: [PATCH] Types --- components/ui/context.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/components/ui/context.tsx b/components/ui/context.tsx index 1c84b9de9..d57bb670e 100644 --- a/components/ui/context.tsx +++ b/components/ui/context.tsx @@ -51,11 +51,7 @@ type Action = } | { type: 'SET_MODAL_VIEW' - view: 'LOGIN_VIEW' - } - | { - type: 'SET_MODAL_VIEW' - view: 'SIGNUP_VIEW' + view: MODAL_VIEWS } type MODAL_VIEWS = 'SIGNUP_VIEW' | 'LOGIN_VIEW' | 'FORGOT_VIEW'