mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 01:06:23 +02:00
fix: pull-based clipboard text and cursor at end with br
This commit is contained in:
parent
4a5a28805d
commit
f3d6ae95e1
5 changed files with 16 additions and 21 deletions
|
|
@ -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);
|
||||
});
|
||||
}, []);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue