This commit is contained in:
parent
86ec00de4c
commit
8b46bf354e
@ -1,9 +1,14 @@
|
||||
"use server";
|
||||
|
||||
import { auth, signIn } from "@/auth";
|
||||
import { getClipboard } from "./action";
|
||||
import ClipboardComponent from "./ClipboardComponent";
|
||||
|
||||
export default async function ClipboardPage() {
|
||||
if ((await auth())?.user == null) {
|
||||
await signIn();
|
||||
}
|
||||
|
||||
const clipboard = await getClipboard();
|
||||
return (
|
||||
<>
|
||||
|
Loading…
x
Reference in New Issue
Block a user