From e4b7c38451efef544f1ed639fc0d9e3597a920a0 Mon Sep 17 00:00:00 2001
From: lonkaars <l.leblansch@gmail.com>
Date: Tue, 9 Mar 2021 19:45:47 +0100
Subject: user page date + async stuffings

---
 pages/search.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'pages/search.tsx')

diff --git a/pages/search.tsx b/pages/search.tsx
index 963fcba..e2825e8 100644
--- a/pages/search.tsx
+++ b/pages/search.tsx
@@ -32,7 +32,7 @@ function SearchResults(props: { userList: Array<userInfo> }) {
 function SearchResult(props: { user: userInfo }) {
 	return <Vierkant style={{
 		padding: 12
-	}} fullwidth href={`/user?id=${props.user.id}`}>
+	}} fullwidth href={"/user?id=" + props.user.id}>
 		<div style={{ position: "relative" }}>
 			<AccountAvatar size={48} dummy/>
 			<div style={{
@@ -55,7 +55,7 @@ function SearchBar(props: {
 		marginBottom: 24
 	}}>
 		<form onSubmit={props.searchFunction}>
-			<Input id="searchBar" label="Zoeken voor gebruikers..." autocomplete="off" dark style={{
+			<Input id="searchBar" label="Zoeken voor gebruikers..." autocomplete="off" dark autofocus style={{
 				backgroundColor: "var(--background)",
 				color: "var(--text)",
 				padding: 14,
-- 
cgit v1.2.3

