@@ -85,5 +82,5 @@ export function TeamSwitcher({
- )
+ );
}
diff --git a/packages/rdx-ui/src/components/multi-select.tsx b/packages/rdx-ui/src/components/multi-select.tsx
index 0f86b5fe..4a57ff3f 100644
--- a/packages/rdx-ui/src/components/multi-select.tsx
+++ b/packages/rdx-ui/src/components/multi-select.tsx
@@ -1,7 +1,3 @@
-import { type VariantProps, cva } from "class-variance-authority";
-import { CheckIcon, ChevronDown, WandSparkles, XCircleIcon } from "lucide-react";
-import * as React from "react";
-
import {
Badge,
Button,
@@ -18,6 +14,10 @@ import {
Separator,
} from "@repo/shadcn-ui/components";
import { cn } from "@repo/shadcn-ui/lib/utils";
+import { type VariantProps, cva } from "class-variance-authority";
+import { CheckIcon, ChevronDown, WandSparkles, XCircleIcon } from "lucide-react";
+import * as React from "react";
+
import { useTranslation } from "../locales/i18n.ts";
/**
@@ -65,7 +65,7 @@ export type MultiSelectOptionType = {
*/
export interface MultiSelectProps
extends React.ButtonHTMLAttributes
,
- VariantProps {
+ VariantProps {
/**
* An array of option objects to be displayed in the multi-select component.
* Each option object has a label, value, and an optional icon.
@@ -130,9 +130,8 @@ export interface MultiSelectProps
*/
selectAllVisible?: boolean;
-
/**
- * Filtra los items seleccionados
+ * Filtra los items seleccionados
*/
filterSelected?: (selectedValues: string[]) => string[];
@@ -181,7 +180,6 @@ export const MultiSelect = React.forwardRef
if (autoFilter) applySelectedFilter();
}, [autoFilter, selectedValues, applySelectedFilter]);
-
const grouped = options.reduce>((acc, item) => {
if (!acc[item.group || ""]) acc[item.group || ""] = [];
acc[item.group || ""].push(item);
@@ -238,33 +236,33 @@ export const MultiSelect = React.forwardRef
};
return (
-
-
+
+