mirror of
https://github.com/better-auth/better-auth.git
synced 2026-08-02 11:03:49 -05:00
chore: fix demo typechecking
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"use client";
|
||||
import { ThemeProvider as NextThemesProvider } from "next-themes";
|
||||
import { type ThemeProviderProps } from "next-themes/dist/types";
|
||||
import { type ThemeProviderProps } from "next-themes";
|
||||
|
||||
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
|
||||
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@better-auth/demo-nextjs",
|
||||
"name": "@better-auth/demo",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
||||
@@ -179,10 +179,13 @@ export const removeMember = <O extends OrganizationOptions>(options: O) =>
|
||||
/**
|
||||
* If not provided, the active organization will be used
|
||||
*/
|
||||
organizationId: z.string().meta({
|
||||
description:
|
||||
'The ID of the organization to remove the member from. If not provided, the active organization will be used. Eg: "org-id"',
|
||||
}),
|
||||
organizationId: z
|
||||
.string()
|
||||
.meta({
|
||||
description:
|
||||
'The ID of the organization to remove the member from. If not provided, the active organization will be used. Eg: "org-id"',
|
||||
})
|
||||
.optional(),
|
||||
}),
|
||||
use: [orgMiddleware, orgSessionMiddleware],
|
||||
metadata: {
|
||||
|
||||
Reference in New Issue
Block a user