mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-06 09:41: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
|
|
@ -1,9 +1,6 @@
|
|||
import React, { useEffect, useState } from 'react';
|
||||
import { useRecoilValue } from 'recoil';
|
||||
import DialogTemplate from '../ui/DialogTemplate';
|
||||
import { Dialog } from '../ui/Dialog.tsx';
|
||||
import { Input } from '../ui/Input.tsx';
|
||||
import { Label } from '../ui/Label.tsx';
|
||||
import {Dialog, DialogTemplate, Input, Label} from '../ui/';
|
||||
import { cn } from '~/utils/';
|
||||
import cleanupPreset from '~/utils/cleanupPreset';
|
||||
import { useCreatePresetMutation } from '~/data-provider';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue