Fix masto undefined

pull/73/head
Lim Chee Aun 2023-02-24 12:25:05 +08:00
rodzic 01b5f35f1d
commit b7f80fb621
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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);