about summary refs log tree commit diff
path: root/src/view/com/modals/ChangeHandle.tsx
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2023-11-06 22:42:25 +0000
committerGitHub <noreply@github.com>2023-11-06 14:42:25 -0800
commita4baf14e4b9516c3611c1d8d988603994ea8a09f (patch)
tree6c0e0851ce7e2f924e37276e92e8567c98699125 /src/view/com/modals/ChangeHandle.tsx
parentd715246e26728ef55408deeb09a3721e39c5031e (diff)
downloadvoidsky-a4baf14e4b9516c3611c1d8d988603994ea8a09f.tar.zst
Fix accidental unwrapped strings (#1826)
Diffstat (limited to 'src/view/com/modals/ChangeHandle.tsx')
-rw-r--r--src/view/com/modals/ChangeHandle.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/modals/ChangeHandle.tsx b/src/view/com/modals/ChangeHandle.tsx
index d197083a0..c54c1c043 100644
--- a/src/view/com/modals/ChangeHandle.tsx
+++ b/src/view/com/modals/ChangeHandle.tsx
@@ -484,13 +484,13 @@ function CustomHandleForm({
           </Text>
         </View>
       )}
-      {error && (
+      {error ? (
         <View style={[styles.message, palError.view]}>
           <Text type="md-medium" style={palError.text}>
             {error}
           </Text>
         </View>
-      )}
+      ) : null}
       <Button
         type="primary"
         style={[s.p20, isVerifying && styles.dimmed]}