fix: pull-based clipboard text and cursor at end with br

This commit is contained in:
CREDO23 2026-03-25 16:22:32 +02:00
parent 4a5a28805d
commit f3d6ae95e1
5 changed files with 16 additions and 21 deletions

View file

@ -332,7 +332,7 @@ const Composer: FC = () => {
const [quickAskText, setQuickAskText] = useState<string | undefined>();
useEffect(() => {
return window.electronAPI?.onQuickAskText((text) => {
window.electronAPI?.getQuickAskText().then((text) => {
if (text) setQuickAskText(text);
});
}, []);