diff --git a/src/ClientContext.tsx b/src/ClientContext.tsx index ca2a659..5e0c3c1 100644 --- a/src/ClientContext.tsx +++ b/src/ClientContext.tsx @@ -59,10 +59,10 @@ interface ClientState { isPasswordlessUser: boolean; client: MatrixClient; userName: string; - error: Error; changePassword: (password: string) => Promise; logout: () => void; setClient: (client: MatrixClient, session: Session) => void; + error?: Error; } const ClientContext = createContext(null);