diff --git a/apps/web/components/Form.tsx b/apps/web/components/Form.tsx index 76c0bcf..3135b23 100644 --- a/apps/web/components/Form.tsx +++ b/apps/web/components/Form.tsx @@ -127,8 +127,8 @@ export const Form = { if (step === 'telegram') { return ( - handleLogin(data)}> - diff --git a/apps/web/context/form-state.tsx b/apps/web/context/form-state.tsx index 7c6aa3c..b0b1a98 100644 --- a/apps/web/context/form-state.tsx +++ b/apps/web/context/form-state.tsx @@ -21,6 +21,7 @@ const reducer = (state: State, action: Action): State => { return { ...state, step: action.payload.step, + user: action.payload.user || state.user, }; return state;