Partially revert "Clean up inviteLink handling, harden compose input"

This commit is contained in:
Scott Nonnenberg 2021-05-21 11:32:10 -07:00 committed by GitHub
parent 9f9dd4cd98
commit e859fcd4b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 0 additions and 48 deletions

View file

@ -50,7 +50,6 @@ export type DataPropsType = {
caretLocation?: number
) => unknown;
onTextTooLong: () => void;
setSecureInput: (enabled: boolean) => void;
} & Pick<EmojiButtonProps, 'recentEmojis' | 'skinTone'>;
type ActionPropsType = Pick<
@ -80,7 +79,6 @@ export const ForwardMessageModal: FunctionComponent<PropsType> = ({
recentEmojis,
removeLinkPreview,
skinTone,
setSecureInput,
}) => {
const inputRef = useRef<null | HTMLInputElement>(null);
const inputApiRef = React.useRef<InputApi | undefined>();
@ -309,7 +307,6 @@ export const ForwardMessageModal: FunctionComponent<PropsType> = ({
onPickEmoji={onPickEmoji}
onSubmit={forwardMessage}
onTextTooLong={onTextTooLong}
setSecureInput={setSecureInput}
/>
<div className="module-ForwardMessageModal__emoji">
<EmojiButton