mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-08 03:28:51 +01:00
refactor(DialogTemplate): convert to typescript
refactor(ui): import multiple components from ui folder in several files
This commit is contained in:
parent
544d72ee1d
commit
c661276888
4 changed files with 27 additions and 15 deletions
|
|
@ -10,17 +10,17 @@ import FileUpload from './FileUpload';
|
|||
import getIcon from '~/utils/getIcon';
|
||||
import getDefaultConversation from '~/utils/getDefaultConversation';
|
||||
import { useDeletePresetMutation, useCreatePresetMutation } from '~/data-provider';
|
||||
import { Button } from '../../ui/Button.tsx';
|
||||
import {
|
||||
Button,
|
||||
DropdownMenu,
|
||||
DropdownMenuContent,
|
||||
DropdownMenuLabel,
|
||||
DropdownMenuRadioGroup,
|
||||
DropdownMenuSeparator,
|
||||
DropdownMenuTrigger
|
||||
} from '../../ui/DropdownMenu.tsx';
|
||||
import { Dialog, DialogTrigger } from '../../ui/Dialog.tsx';
|
||||
import DialogTemplate from '../../ui/DialogTemplate';
|
||||
DropdownMenuTrigger,
|
||||
DialogTemplate,
|
||||
Dialog, DialogTrigger
|
||||
} from '../../ui/';
|
||||
import { cn } from '~/utils/';
|
||||
|
||||
import store from '~/store';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue