diff --git a/src/app/components/plan/PartDropdown.tsx b/src/app/components/plan/PartDropdown.tsx
index 35e9e32f..1a9ca63c 100644
--- a/src/app/components/plan/PartDropdown.tsx
+++ b/src/app/components/plan/PartDropdown.tsx
@@ -1,16 +1,11 @@
import { Fragment } from "react";
import { Menu, Transition } from "@headlessui/react";
import { ChevronDownIcon } from "@heroicons/react/20/solid";
-
-type Option = {
- label: string;
- value: string;
- cost: number;
-};
+import { PartOption } from "@/types/parts";
type DropdownProps = {
- options: Option[];
- onSelectOption: (option: Option) => void;
+ options: PartOption[];
+ onSelectOption: (option: PartOption) => void;
selectedOption: string;
};
@@ -39,7 +34,7 @@ export default function PartDropdown({
>
{options.map((option) => (
-
+
{({ active }) => (