From b0c404a104d2c0b5f709dc462b3aaa8b2c70ea56 Mon Sep 17 00:00:00 2001 From: Anusha Date: Thu, 10 Oct 2024 19:33:22 +0500 Subject: [PATCH] workspace invite submit --- src/pages/workspace/WorkspaceInviteMessagePage.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/workspace/WorkspaceInviteMessagePage.tsx b/src/pages/workspace/WorkspaceInviteMessagePage.tsx index 65776deb7f9a..f3cf0a5abfb7 100644 --- a/src/pages/workspace/WorkspaceInviteMessagePage.tsx +++ b/src/pages/workspace/WorkspaceInviteMessagePage.tsx @@ -19,6 +19,7 @@ import withCurrentUserPersonalDetails from '@components/withCurrentUserPersonalD import useAutoFocusInput from '@hooks/useAutoFocusInput'; import useLocalize from '@hooks/useLocalize'; import useThemeStyles from '@hooks/useThemeStyles'; +import useViewportOffsetTop from '@hooks/useViewportOffsetTop'; import Navigation from '@libs/Navigation/Navigation'; import * as OptionsListUtils from '@libs/OptionsListUtils'; import Parser from '@libs/Parser'; @@ -47,6 +48,7 @@ function WorkspaceInviteMessagePage({policy, route, currentUserPersonalDetails}: const styles = useThemeStyles(); const {translate} = useLocalize(); + const viewportOffsetTop = useViewportOffsetTop(); const [welcomeNote, setWelcomeNote] = useState(); const {inputCallbackRef, inputRef} = useAutoFocusInput(); @@ -131,6 +133,8 @@ function WorkspaceInviteMessagePage({policy, route, currentUserPersonalDetails}: