File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { Fragment } from 'react'
2
2
import { Menu , Transition } from '@headlessui/react'
3
3
import { ChevronDownIcon } from '@heroicons/react/20/solid'
4
- import { combineClassNames } from '@/submodules/javascript-functions/general' ;
5
4
import { DropdownProps , OptionProps } from '../types/dropdown' ;
5
+ import { combineClassNames } from '../../javascript-functions/general' ;
6
6
7
7
8
8
export default function Dropdown ( props : DropdownProps ) {
@@ -35,7 +35,7 @@ export default function Dropdown(props: DropdownProps) {
35
35
< Menu . Items className = "absolute z-10 mt-2 w-40 origin-top-right rounded-md bg-white shadow-sm ring-1 ring-black ring-opacity-5 focus:outline-none" >
36
36
< div className = "py-1" >
37
37
{ props . options . map ( ( option : OptionProps ) => (
38
- < div key = { option . name } >
38
+ < div key = { option . id } >
39
39
< Menu . Item >
40
40
{ ( { active } ) => (
41
41
< a key = { option . id }
You can’t perform that action at this time.
0 commit comments