Get rid of custom components folder
This commit is contained in:
parent
c493ac342b
commit
6d16f67280
38 changed files with 34 additions and 34 deletions
|
|
@ -5,8 +5,8 @@ import { useRouter } from 'next/navigation';
|
|||
import { useActionState, useEffect, useState } from 'react';
|
||||
import { toast } from 'sonner';
|
||||
|
||||
import { AuthForm } from '@/components/custom/auth-form';
|
||||
import { SubmitButton } from '@/components/custom/submit-button';
|
||||
import { AuthForm } from '@/components/auth-form';
|
||||
import { SubmitButton } from '@/components/submit-button';
|
||||
|
||||
import { login, LoginActionState } from '../actions';
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ import { useRouter } from 'next/navigation';
|
|||
import { useActionState, useEffect, useState } from 'react';
|
||||
import { toast } from 'sonner';
|
||||
|
||||
import { AuthForm } from '@/components/custom/auth-form';
|
||||
import { SubmitButton } from '@/components/custom/submit-button';
|
||||
import { AuthForm } from '@/components/auth-form';
|
||||
import { SubmitButton } from '@/components/submit-button';
|
||||
|
||||
import { register, RegisterActionState } from '../actions';
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { notFound } from 'next/navigation';
|
|||
|
||||
import { DEFAULT_MODEL_NAME, models } from '@/ai/models';
|
||||
import { auth } from '@/app/(auth)/auth';
|
||||
import { Chat as PreviewChat } from '@/components/custom/chat';
|
||||
import { Chat as PreviewChat } from '@/components/chat';
|
||||
import { getChatById, getMessagesByChatId } from '@/lib/db/queries';
|
||||
import { convertToUIMessages } from '@/lib/utils';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { cookies } from 'next/headers';
|
||||
|
||||
import { AppSidebar } from '@/components/custom/app-sidebar';
|
||||
import { AppSidebar } from '@/components/app-sidebar';
|
||||
import { SidebarInset, SidebarProvider } from '@/components/ui/sidebar';
|
||||
|
||||
import { auth } from '../(auth)/auth';
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { cookies } from 'next/headers';
|
||||
|
||||
import { DEFAULT_MODEL_NAME, models } from '@/ai/models';
|
||||
import { Chat } from '@/components/custom/chat';
|
||||
import { Chat } from '@/components/chat';
|
||||
import { generateUUID } from '@/lib/utils';
|
||||
|
||||
export default async function Page() {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { Metadata } from 'next';
|
||||
import { Toaster } from 'sonner';
|
||||
|
||||
import { ThemeProvider } from '@/components/custom/theme-provider';
|
||||
import { ThemeProvider } from '@/components/theme-provider';
|
||||
|
||||
import './globals.css';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue