aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-10 18:47:32 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-10 18:47:32 +0100
commit9a72d2310682dd0dcb0f9296273fca93591d8a31 (patch)
tree900ec9521f22cfa16903ec7c4374949a84663824 /components
parent1bfee312bf6a176f50bc6751ad6d3cb8a80be5d8 (diff)
link settings button on self account page to settings
Diffstat (limited to 'components')
-rw-r--r--components/ui.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/ui.tsx b/components/ui.tsx
index 5717928..e2d7f41 100644
--- a/components/ui.tsx
+++ b/components/ui.tsx
@@ -75,8 +75,9 @@ export function IconLabelButton(props: {
icon: ReactNode;
onclick?: () => void;
style?: CSSProperties;
+ href?: string;
}) {
- return <Button onclick={props.onclick} style={{
+ return <Button onclick={props.onclick} href={props.href} style={{
display: "inline-block",
verticalAlign: "top",
padding: 8,