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'