aboutsummaryrefslogtreecommitdiff
path: root/pages/search.tsx
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-09 19:45:47 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-09 19:45:47 +0100
commite4b7c38451efef544f1ed639fc0d9e3597a920a0 (patch)
tree4f94a47a18944806f8dcc6ccb30d29296ac223af /pages/search.tsx
parent57b098efd90b72c854582de9d7dafdc40506d5a9 (diff)
user page date + async stuffings
Diffstat (limited to 'pages/search.tsx')
-rw-r--r--pages/search.tsx4
1 files changed, 2 insertions, 2 deletions
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,