mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 02:40:14 +01:00
fix(typing): minor typing resolutions and convert SearchBar to TS (#766)
* refactor(SearchBar): convert to TS, useLocalize * fix(typing): minor type issues * chore(package.json): add 'reinstall:docker' script for rebuilding Docker environment in current branch
This commit is contained in:
parent
600a0d15b1
commit
68ad46a9be
8 changed files with 49 additions and 40 deletions
|
|
@ -6,7 +6,7 @@ import { cn } from '../../utils';
|
|||
const Label = React.forwardRef<
|
||||
React.ElementRef<typeof LabelPrimitive.Root>,
|
||||
React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>
|
||||
>(({ className, ...props }, ref) => (
|
||||
>(({ className = '', ...props }, ref) => (
|
||||
<LabelPrimitive.Root
|
||||
ref={ref}
|
||||
className={cn(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue