Use tRPC for contact form

This commit is contained in:
Timothy Armes
2023-10-10 11:25:00 +02:00
committed by Owen Rees
parent b8c0188b13
commit 3203c8af58
7 changed files with 111 additions and 183 deletions
+2
View File
@@ -1,8 +1,10 @@
import { addTournament } from "./procedures/addTournament";
import { contactUs } from "./procedures/contactUs";
import { fetchTournamentResults } from "./procedures/fetchTournamentResults";
import { router } from "./trpc";
export const appRouter = router({
contactUs,
addTournament,
fetchTournamentResults,
});