refactor: update UI text, metadata, and styles across donation and artifact admin pages
This commit is contained in:
@@ -4,6 +4,7 @@ import { donations } from "@/lib/db/schema";
|
||||
import { desc, getTableColumns, sql } from "drizzle-orm";
|
||||
import { adminCheck } from "@/lib/auth";
|
||||
import { redirect } from "next/navigation";
|
||||
import { Metadata } from "next";
|
||||
|
||||
export default async function () {
|
||||
if (!(await adminCheck()))
|
||||
@@ -20,4 +21,9 @@ export default async function () {
|
||||
return <DonateAdminPage data={data} />;
|
||||
}
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "โดเนททั้งหมด",
|
||||
description: "ดูโดเนททั้งหมด",
|
||||
};
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
Reference in New Issue
Block a user