chore: fix demo typechecking

This commit is contained in:
Bereket Engida
2025-08-11 09:58:40 -07:00
parent 865641e1d0
commit 7413783464
3 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -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 -1
View File
@@ -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: {