diff --git a/src/app/components/portfolio/UploadCsvModal.tsx b/src/app/components/portfolio/UploadCsvModal.tsx
index 1a26991..0bfec48 100644
--- a/src/app/components/portfolio/UploadCsvModal.tsx
+++ b/src/app/components/portfolio/UploadCsvModal.tsx
@@ -7,15 +7,7 @@ import ModalSubmit from "@/app/components/home/ModalSubmit";
import { Input } from "@/app/shadcn_components/ui/input";
import { Label } from "@/app/shadcn_components/ui/label";
-import {
- Select,
- SelectContent,
- SelectGroup,
- SelectItem,
- SelectLabel,
- SelectTrigger,
- SelectValue,
-} from "@/app/shadcn_components/ui/select";
+import { set } from "cypress/types/lodash";
export function InputFile() {
return (
@@ -26,24 +18,29 @@ export function InputFile() {
);
}
-interface SelectDropdownProps {
- options: string[];
- placeholder: string;
- onValueChange: (value: string) => void;
-}
+type Option = {
+ label: string;
+ value: string;
+};
+
+type DropdownProps = {
+ options: Option[];
+ selectedOption: string;
+ onSelectOption: (option: Option) => void;
+};
export function SelectDropdown({
options,
- placeholder,
- onValueChange,
-}: SelectDropdownProps) {
+ selectedOption,
+ onSelectOption,
+}: DropdownProps) {
return (