diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-10 18:47:32 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-10 18:47:32 +0100 |
commit | 9a72d2310682dd0dcb0f9296273fca93591d8a31 (patch) | |
tree | 900ec9521f22cfa16903ec7c4374949a84663824 /components | |
parent | 1bfee312bf6a176f50bc6751ad6d3cb8a80be5d8 (diff) |
link settings button on self account page to settings
Diffstat (limited to 'components')
-rw-r--r-- | components/ui.tsx | 3 |
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, |