Fix masto undefined
This commit is contained in:
parent
01b5f35f1d
commit
b7f80fb621
|
@ -1039,6 +1039,7 @@ function Compose({
|
|||
}
|
||||
|
||||
const Textarea = forwardRef((props, ref) => {
|
||||
const { masto } = api();
|
||||
const [text, setText] = useState(ref.current?.value || '');
|
||||
const { maxCharacters, performSearch = () => {}, ...textareaProps } = props;
|
||||
const snapStates = useSnapshot(states);
|
||||
|
|
Loading…
Reference in a new issue