Skip to content

Commit 3ed3d77

Browse files
committed
re-exported the export in the export section
1 parent e8fdf0c commit 3ed3d77

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

apps/dashboard/app/(main)/settings/_components/two-factor-form.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import {
1818
import { useEffect, useRef, useState } from 'react';
1919
import { useForm } from 'react-hook-form';
2020
import { toast } from 'sonner';
21-
import { z } from 'zod';
2221
import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert';
2322
import { Button } from '@/components/ui/button';
2423
import { Checkbox } from '@/components/ui/checkbox';
@@ -32,15 +31,6 @@ import {
3231
} from '@/components/ui/form';
3332
import { Input } from '@/components/ui/input';
3433

35-
const setupFormSchema = z.object({
36-
password: z.string().min(1, 'Password is required'),
37-
});
38-
39-
const verifyFormSchema = z.object({
40-
code: z.string().min(6, 'Code is required').max(6, 'Code should be 6 digits'),
41-
trustDevice: z.boolean(),
42-
});
43-
4434
export function TwoFactorForm() {
4535
const { data: session } = useSession();
4636
const [isLoading, setIsLoading] = useState(false);

packages/auth/src/client/auth-client.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { createAuthClient } from 'better-auth/react';
1010
import type { auth } from '../auth';
1111
import { ac, admin, member, owner } from '../permissions';
1212

13-
// Define a type for the auth client configuration
1413
export type AuthClientConfig = {
1514
baseURL?: string;
1615
debug?: boolean;

packages/auth/src/client/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
export * from './auth-client';
2+
export * from './auth-helpers';

0 commit comments

Comments
 (0)