wip: trpc

This commit is contained in:
Andras Bacsai
2022-12-13 12:54:57 +01:00
parent 1180d3fdde
commit abc614ecfd
15 changed files with 44 additions and 48 deletions

View File

@@ -1,7 +1,7 @@
import { goto } from '$app/navigation';
import { errorNotification } from '$lib/common';
import { t } from '$lib/store';
import { trpc } from '$lib/store';
export async function saveForm() {
return await t.applications.save.mutate();
return await trpc.applications.save.mutate();
}