mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 09:20:15 +01:00
Build/Refactor: lint pre-commit hook and reformat repo to spec (#314)
* build/refactor: move lint/prettier packages to project root, install husky, add pre-commit hook * refactor: reformat files * build: put full eslintrc back with all rules
This commit is contained in:
parent
8d75b25104
commit
7fdc862042
157 changed files with 4836 additions and 2403 deletions
|
|
@ -17,11 +17,7 @@ function SelectDropDown({
|
|||
return (
|
||||
<div className={cn('flex items-center justify-center gap-2', containerClassName)}>
|
||||
<div className="relative w-full">
|
||||
<Listbox
|
||||
value={value}
|
||||
onChange={setValue}
|
||||
disabled={disabled}
|
||||
>
|
||||
<Listbox value={value} onChange={setValue} disabled={disabled}>
|
||||
{({ open }) => (
|
||||
<>
|
||||
<Listbox.Button
|
||||
|
|
@ -47,7 +43,9 @@ function SelectDropDown({
|
|||
!showLabel ? 'text-xs' : ''
|
||||
)}
|
||||
>
|
||||
{!showLabel && <span className="text-xs text-gray-700 dark:text-gray-500">{title}:</span>}
|
||||
{!showLabel && (
|
||||
<span className="text-xs text-gray-700 dark:text-gray-500">{title}:</span>
|
||||
)}
|
||||
{value}
|
||||
</span>
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue