From d1c14940fbe3109466a6c6dba0e4a9013017aa4d Mon Sep 17 00:00:00 2001 From: dan Date: Fri, 17 Nov 2023 17:47:36 +0000 Subject: [PATCH] Add missing type (#1955) --- src/view/screens/Profile.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx index 30c30d43..88b11b11 100644 --- a/src/view/screens/Profile.tsx +++ b/src/view/screens/Profile.tsx @@ -38,6 +38,10 @@ import {useQueryClient} from '@tanstack/react-query' import {useComposerControls} from '#/state/shell/composer' import {listenSoftReset} from '#/state/events' +interface SectionRef { + scrollToTop: () => void +} + type Props = NativeStackScreenProps export const ProfileScreen = withAuthRequired(function ProfileScreenImpl({ route,