about summary refs log tree commit diff
path: root/src/view/com/modals/VerifyEmail.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-11-17 11:08:45 -0600
committerGitHub <noreply@github.com>2023-11-17 11:08:45 -0600
commit9c8a1b8a3118f6a6994a3c6cf8e5b70ef10049ab (patch)
treea92dedc55ce9f2bf5252ef3a5de6ca61ba2d90e3 /src/view/com/modals/VerifyEmail.tsx
parent6c8f043e370393d593c14dc40cff86b062fc5c52 (diff)
downloadvoidsky-9c8a1b8a3118f6a6994a3c6cf8e5b70ef10049ab.tar.zst
Fix some type errors (#1952)
* Fix some low-hanging type errors

* Override scrollRef types on profile
Diffstat (limited to 'src/view/com/modals/VerifyEmail.tsx')
-rw-r--r--src/view/com/modals/VerifyEmail.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/view/com/modals/VerifyEmail.tsx b/src/view/com/modals/VerifyEmail.tsx
index 0af02db4b..4376a3e45 100644
--- a/src/view/com/modals/VerifyEmail.tsx
+++ b/src/view/com/modals/VerifyEmail.tsx
@@ -224,7 +224,9 @@ export function Component({showReminder}: {showReminder?: boolean}) {
               <Button
                 testID="cancelBtn"
                 type="default"
-                onPress={() => closeModal()}
+                onPress={() => {
+                  closeModal()
+                }}
                 accessibilityLabel={
                   stage === Stages.Reminder ? 'Not right now' : 'Cancel'
                 }