We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdc71a4 commit f8eada1Copy full SHA for f8eada1
1 file changed
examples/composable-dashboard/app/users/page.tsx
@@ -2,8 +2,10 @@ import Link from "next/link";
2
import { Button, Card, CardContent, CardHeader, CardTitle } from "@opensaas/ui/primitives";
3
import { ListTable } from "@opensaas/ui/standalone";
4
import { getContext } from "../../lib/context";
5
+import { connection } from "next/server";
6
7
export default async function UsersPage() {
8
+ await connection();
9
const context = await getContext();
10
11
const users = await context.db.user.findMany({
0 commit comments