Skip to content

Commit

Permalink
workspace invite submit
Browse files Browse the repository at this point in the history
  • Loading branch information
Nodebrute committed Oct 10, 2024
1 parent 517ffaa commit b0c404a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/workspace/WorkspaceInviteMessagePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -47,6 +48,7 @@ function WorkspaceInviteMessagePage({policy, route, currentUserPersonalDetails}:
const styles = useThemeStyles();
const {translate} = useLocalize();

const viewportOffsetTop = useViewportOffsetTop();
const [welcomeNote, setWelcomeNote] = useState<string>();

const {inputCallbackRef, inputRef} = useAutoFocusInput();
Expand Down Expand Up @@ -131,6 +133,8 @@ function WorkspaceInviteMessagePage({policy, route, currentUserPersonalDetails}:
<ScreenWrapper
includeSafeAreaPaddingBottom={false}
testID={WorkspaceInviteMessagePage.displayName}
shouldEnableMaxHeight
style={{marginTop: viewportOffsetTop}}
>
<HeaderWithBackButton
title={translate('workspace.inviteMessage.inviteMessageTitle')}
Expand Down

0 comments on commit b0c404a

Please sign in to comment.