about summary refs log tree commit diff
path: root/src/view/com/modals/ChangeHandle.tsx
diff options
context:
space:
mode:
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]}