aboutsummaryrefslogtreecommitdiff
path: root/components/ui.tsx
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-04-22 13:20:02 +0200
committerlonkaars <l.leblansch@gmail.com>2021-04-22 13:20:02 +0200
commit05b071b320c9856683419d328e84f4d843e6c968 (patch)
tree25d331f1e83f0d4e9664b8376103855dfe6484a2 /components/ui.tsx
parentfce651a618ca6d0d64fbcea757c3e0f582e1b437 (diff)
theme saved to preferences
Diffstat (limited to 'components/ui.tsx')
-rw-r--r--components/ui.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/ui.tsx b/components/ui.tsx
index c92ebfe..bf8c65d 100644
--- a/components/ui.tsx
+++ b/components/ui.tsx
@@ -123,7 +123,7 @@ export function CheckBox(props: {
onclick?: (state: boolean) => void;
}) {
return <div
- onClick={() => props.onclick && props.onclick(!props.state)}
+ onClick={() => props.onclick && props.onclick(!props.state)}
id={props.id}
className={'checkbox dispinbl ' + (props.state ? 'on' : 'off')}
>