Skip to content

Commit

Permalink
Merge pull request #86 from PrakashDurlabhji/issue_2515
Browse files Browse the repository at this point in the history
issue #99 fix
  • Loading branch information
luizrrodrigues authored Jan 14, 2020
2 parents f5d6223 + ff0cadf commit edbaebe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/TopNav/PrimaryNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import cn from 'classnames'
import ResizeDetector from 'react-resize-detector'
import ChosenArrow from '../ChosenArrow'
import IconArrowSmalldown from '../../assets/images/arrow-small-down.svg'
import IconArrowSmallup from '../../assets/images/arrow-small-up.svg'
import styles from './PrimaryNav.module.scss'

const PrimaryNav = ({
Expand Down Expand Up @@ -81,7 +82,8 @@ const PrimaryNav = ({
>
<div className={styles.moreBtnMask} />
<span>More</span>
<IconArrowSmalldown />
{openMore && <IconArrowSmallup />}
{!openMore && <IconArrowSmalldown />}
</button>
<div className={styles.moreContentContainer}>
{moreMenu.map((menu, i) => (
Expand Down

0 comments on commit edbaebe

Please sign in to comment.