From 295867a4399457a8f12d0246e577723b47117ac1 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Mon, 4 Dec 2017 10:03:14 +0000 Subject: [PATCH] Login form: add a missing prevent default. --- src/EteSyncContext.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/EteSyncContext.tsx b/src/EteSyncContext.tsx index 1309ab5..1ba9ae7 100644 --- a/src/EteSyncContext.tsx +++ b/src/EteSyncContext.tsx @@ -52,7 +52,8 @@ export class EteSyncContext extends React.Component { } } - generateEncryption() { + generateEncryption(e: any) { + e.preventDefault(); let authenticator = new EteSync.Authenticator(SERVICE_API); this.setState({