refactor: cleanup use of rawInput and pipe mdwr in trpc router (#7422)
* cleanup use of rawInput and pipe mdwr * Update ssg.ts * Update ssg.ts * Update viewer.tsx --------- Co-authored-by: zomars <[email protected]>
This commit is contained in:
1 parent
2529f71770
commit
e4b766b9d6
14 files changed
+163
-150
No files matched your search
@@ -26,6 +26,7 @@ export async function ssgInit<TParams extends { locale?: string }>(opts: GetStat
|
||||
const ssg = createProxySSGHelpers({
|
||||
router: appRouter,
|
||||
transformer: superjson,
|
||||
// @ts-expect-error FIXME The signature expects req and res. Which we don't have in an SSG context.
|
||||
ctx: {
|
||||
prisma,
|
||||
session: null,
|
||||
|
||||
Reference in new issue
Block a user