diff options
Diffstat (limited to 'components/tweaks.tsx')
-rw-r--r-- | components/tweaks.tsx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/components/tweaks.tsx b/components/tweaks.tsx index b4733b8..0568c7d 100644 --- a/components/tweaks.tsx +++ b/components/tweaks.tsx @@ -1242,7 +1242,11 @@ export const Tweaks = (props: TweakProps) => { colorScheme="" color="black" > - <Text>{mouse.local[0]!.toUpperCase() + mouse.local!.slice(1)}</Text> + <Text> + {mouse.local + ? mouse.local[0]!.toUpperCase() + mouse.local!.slice(1) + : 'Never'} + </Text> </MenuButton> <Portal> {' '} @@ -1272,7 +1276,11 @@ export const Tweaks = (props: TweakProps) => { colorScheme="" color="black" > - <Text>{mouse.follow[0]!.toUpperCase() + mouse.follow!.slice(1)}</Text> + <Text> + {mouse.follow + ? mouse.follow[0]!.toUpperCase() + mouse.follow!.slice(1) + : 'Never'} + </Text> </MenuButton> <Portal> {' '} |