import { getServerSession } from "next-auth"; import { LoginDialog } from "@/components/login-dialog"; import { authOptions } from "@/lib/auth/auth-options"; import { getSessionDiscordId } from "@/lib/auth/auth"; import { ShareUploadClient } from "@/app/share/client"; export const dynamic = "force-dynamic"; export default async function SharePage() { const session = await getServerSession(authOptions); const discordId = getSessionDiscordId(session); if (!discordId) { return ( ); } return (

วางข้อความ แล้วส่งลิงก์ต่อ

คนที่มีลิงก์สามารถเปิดอ่านได้

); }