From 9c8a1b8a3118f6a6994a3c6cf8e5b70ef10049ab Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 17 Nov 2023 11:08:45 -0600 Subject: [PATCH] Fix some type errors (#1952) * Fix some low-hanging type errors * Override scrollRef types on profile --- src/view/com/modals/ChangeEmail.tsx | 4 ++- src/view/com/modals/LinkWarning.tsx | 4 ++- src/view/com/modals/ListAddRemoveUsers.tsx | 4 ++- src/view/com/modals/ModerationDetails.tsx | 7 ++++- src/view/com/modals/VerifyEmail.tsx | 4 ++- src/view/com/pager/PagerWithHeader.tsx | 2 +- src/view/screens/Profile.tsx | 30 +++++++++++++++------- 7 files changed, 40 insertions(+), 15 deletions(-) diff --git a/src/view/com/modals/ChangeEmail.tsx b/src/view/com/modals/ChangeEmail.tsx index 7ea17968..73ab33dd 100644 --- a/src/view/com/modals/ChangeEmail.tsx +++ b/src/view/com/modals/ChangeEmail.tsx @@ -212,7 +212,9 @@ export function Component() {