mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-03 16:46:00 +00:00
finalize waku example
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
"use client";
|
||||
|
||||
import { Admin, type BkndAdminProps } from "bknd/ui";
|
||||
|
||||
export const AdminImpl = (props: BkndAdminProps) => {
|
||||
if (typeof window === "undefined") {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<Admin
|
||||
withProvider
|
||||
config={{
|
||||
basepath: "/admin",
|
||||
logo_return_path: "/../",
|
||||
...props.config,
|
||||
}}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default AdminImpl;
|
||||
Reference in New Issue
Block a user