Partially revert "Clean up inviteLink handling, harden compose input"
This commit is contained in:
parent
9f9dd4cd98
commit
e859fcd4b4
11 changed files with 0 additions and 48 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue