diff --git a/frontend/src/components/TagSearch.tsx b/frontend/src/components/TagSearch.tsx index a266fe2..fc99a60 100644 --- a/frontend/src/components/TagSearch.tsx +++ b/frontend/src/components/TagSearch.tsx @@ -93,7 +93,7 @@ const TagSearch: React.FC = () => { onFocus={() => setSuggestionsVsbl (true)} onBlur={() => setSuggestionsVsbl (false)} onKeyDown={handleKeyDown} - className="w-full px-3 py-2 border rounded border-gray-600 bg-gray-800 text-white" /> + className="w-full px-3 py-2 border rounded dark:border-gray-600 dark:bg-gray-800 dark:text-white" /> diff --git a/frontend/src/components/TagSearchBox.tsx b/frontend/src/components/TagSearchBox.tsx index b57d002..381d908 100644 --- a/frontend/src/components/TagSearchBox.tsx +++ b/frontend/src/components/TagSearchBox.tsx @@ -3,26 +3,26 @@ import { cn } from '@/lib/utils' import type { Tag } from '@/types' type Props = { suggestions: Tag[] - activeIndex: number - onSelect: (tag: Tag) => void } + activeIndex: number + onSelect: (tag: Tag) => void } export default ({ suggestions, activeIndex, onSelect }: Props) => { if (!(suggestions.length)) - return null + return return ( -