diff --git a/components/neroshitron/search_input.tsx b/components/neroshitron/search_input.tsx index 78d1d38..6a0526e 100644 --- a/components/neroshitron/search_input.tsx +++ b/components/neroshitron/search_input.tsx @@ -1,7 +1,9 @@ "use client;" import React, { useState, useEffect, useRef,forwardRef } from 'react'; import TagSelector from '../neroshitron/tag_selector'; -import Select from 'react-select'; +import Select from "react-tailwindcss-select"; +import { SelectValue } from 'react-tailwindcss-select/dist/components/type'; +import { Option } from 'react-tailwindcss-select/dist/components/type'; interface SearchInputProps { tagsChanged: (tags: string[]) => void; @@ -11,24 +13,10 @@ interface SearchInputProps { const SearchInput = ({ tagsChanged, searchChanged, nsfwChanged}: SearchInputProps) => { - const AutocompleteDropdown = ({ tags }: { tags: any[] }) => { - const options = tags.map((tag: { name: string; }) => ({ value: tag.name, label: tag.name })); - return ( -