mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-04 00:56:01 +00:00
template: added cloudflare vite hybrid template
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { Admin, type BkndAdminProps } from "bknd/ui";
|
||||
import "bknd/dist/styles.css";
|
||||
import { useAuth } from "bknd/client";
|
||||
|
||||
export default function AdminPage(props: BkndAdminProps) {
|
||||
const auth = useAuth();
|
||||
return <Admin {...props} withProvider={{ user: auth.user }} />;
|
||||
}
|
||||
Reference in New Issue
Block a user