mirror of
https://github.com/ershisan99/www.git
synced 2025-12-17 21:09:22 +00:00
wip
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { UserStats } from '@/app/_components/user-stats'
|
||||
import { auth } from '@/server/auth'
|
||||
import { HydrateClient, api } from '@/trpc/server'
|
||||
import { HydrateClient } from '@/trpc/server'
|
||||
|
||||
export default async function Home() {
|
||||
const session = await auth()
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { PlayerGames } from '@/app/players/[id]/games'
|
||||
import { UserInfo } from '@/app/players/[id]/user'
|
||||
import { auth } from '@/server/auth'
|
||||
import { HydrateClient, api } from '@/trpc/server'
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
import {
|
||||
createTRPCRouter,
|
||||
protectedProcedure,
|
||||
publicProcedure,
|
||||
} from '@/server/api/trpc'
|
||||
import { createTRPCRouter, publicProcedure } from '@/server/api/trpc'
|
||||
import { db } from '@/server/db'
|
||||
import { player_games, raw_history } from '@/server/db/schema'
|
||||
import { desc, eq } from 'drizzle-orm'
|
||||
import { chunk } from 'remeda'
|
||||
import { z } from 'zod'
|
||||
|
||||
export const history_router = createTRPCRouter({
|
||||
|
||||
Reference in New Issue
Block a user