From c8a4523ea2f0a9d40a9fb2fb1dca01065c2e6ca1 Mon Sep 17 00:00:00 2001
From: lonkaars <l.leblansch@gmail.com>
Date: Fri, 15 Jan 2021 16:20:49 +0100
Subject: login / button changes / account homepage

---
 src/pages/login.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/login.tsx')

diff --git a/src/pages/login.tsx b/src/pages/login.tsx
index bdaebc6..8528a39 100644
--- a/src/pages/login.tsx
+++ b/src/pages/login.tsx
@@ -59,7 +59,7 @@ export default function LoginPage() {
 							display: "grid",
 							gridTemplateColumns: "1fr 1fr"
 						}}>
-						<Button text="Registreren" style={{ backgroundColor: "var(--background-alt)" }} onclick={() => window.location.pathname = "/register"}></Button>
+							<Button href="/register" text="Registreren" style={{ backgroundColor: "var(--background-alt)"}}></Button>
 							<Button text="Inloggen" onclick={submitLogin}></Button>
 						</div>
 					</Vierkant>
-- 
cgit v1.2.3

