Skip to content

Commit

Permalink
Removed bullet point on dropdown design after additional designer fee…
Browse files Browse the repository at this point in the history
…dback.
  • Loading branch information
kea-roy committed Mar 9, 2024
1 parent c77402a commit 7c21aac
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions frontend/src/components/utils/DropDown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,10 @@
* @param {MenuElement[]} props.menuItems - An array of menu items, each containing an item name and a callback function.
* @returns {JSX.Element} The rendered dropdown component.
*/
import React, { useState, useEffect } from 'react';
import React, { useState } from 'react';
import { Button, Menu, MenuItem } from '@material-ui/core';
import { makeStyles } from '@material-ui/styles';
import {
RadioButtonChecked,
RadioButtonUnchecked,
ArrowDropDown,
ArrowDropUp,
} from '@material-ui/icons';
import { ArrowDropDown, ArrowDropUp } from '@material-ui/icons';
import SvgIcon from '@material-ui/core/SvgIcon';

type MenuElement = {
Expand Down Expand Up @@ -98,11 +93,6 @@ export default function DropDown({ menuItems }: Props) {
callback();
}}
>
<SvgIcon
component={menuItem.item === selected ? RadioButtonChecked : RadioButtonUnchecked}
fontSize="small"
style={{ paddingRight: '1rem' }}
/>
{item}
</MenuItem>
);
Expand Down

0 comments on commit 7c21aac

Please sign in to comment.