diff --git a/src/components/compose.jsx b/src/components/compose.jsx index 97247e3c..848e8c8f 100644 --- a/src/components/compose.jsx +++ b/src/components/compose.jsx @@ -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);