Change curl import to post-toast

This commit is contained in:
Gregory Schier committed 2024-05-10 13:06:40 -07:00
1 parent 582da26574
commit fd6ad952fe
3 files changed
+107 -98

No files matched your search

+1 -5
View File
@@ -4,10 +4,6 @@ import { readText } from '@tauri-apps/plugin-clipboard-manager';
export function useClipboardText() {
return useQuery({
queryKey: [],
queryFn: async () => {
const text = await readText();
console.log('READ CLIPBOARD', text);
return text;
},
queryFn: () => readText(),
}).data;
}