Add ref=<app_id> to external links pointing to yaak.app

This commit is contained in:
Gregory Schier
2025-05-16 07:53:22 -07:00
parent 749df338c5
commit 0be7d0283b
10 changed files with 31 additions and 27 deletions

View File

@@ -1,13 +1,11 @@
import { useMutation } from '@tanstack/react-query';
import { InlineCode } from '../components/core/InlineCode';
import { showAlert } from '../lib/alert';
import { appInfo } from '../lib/appInfo';
import { minPromiseMillis } from '../lib/minPromiseMillis';
import { invokeCmd } from '../lib/tauri';
import { useAppInfo } from './useAppInfo';
export function useCheckForUpdates() {
const appInfo = useAppInfo();
return useMutation({
mutationKey: ['check_for_updates'],
mutationFn: async () => {