Skip to content

Commit

Permalink
#88 fixed duration picker toggle issue
Browse files Browse the repository at this point in the history
  • Loading branch information
io53 committed Mar 10, 2024
1 parent a6d7342 commit 3d4dc9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DurationPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default function DurationPicker(props) {
<Popover isOpen={showPicker} placement="bottom-end" onClose={() => setShowPicker(false)}>
<PopoverAnchor>
<MenuButton as={Button}
rightIcon={<MdArrowDropDown size={26} className="buttonSideIcon" onClick={e => setShowPicker(false) || setShowDropdown(!showPicker)} style={{ marginRight: -8, marginLeft: 4 }} />}
rightIcon={<MdArrowDropDown size={26} className="buttonSideIcon" onClick={e => setShowPicker(false) || setShowDropdown(!showDropdown)} style={{ marginRight: -8, marginLeft: 4 }} />}
leftIcon={!props.dashboard && <AiOutlineCalendar size={26} className="buttonSideIcon" onClick={e => setShowDropdown(false) || setShowPicker(!showPicker)} style={{ marginRight: 6, marginLeft: -8 }} />}
variant="ddl"
className="durationPicker"
Expand Down

0 comments on commit 3d4dc9e

Please sign in to comment.