Skip to content

Commit edbaebe

Browse files
Merge pull request #86 from PrakashDurlabhji/issue_2515
issue #99 fix
2 parents f5d6223 + ff0cadf commit edbaebe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/TopNav/PrimaryNav.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import cn from 'classnames'
44
import ResizeDetector from 'react-resize-detector'
55
import ChosenArrow from '../ChosenArrow'
66
import IconArrowSmalldown from '../../assets/images/arrow-small-down.svg'
7+
import IconArrowSmallup from '../../assets/images/arrow-small-up.svg'
78
import styles from './PrimaryNav.module.scss'
89

910
const PrimaryNav = ({
@@ -81,7 +82,8 @@ const PrimaryNav = ({
8182
>
8283
<div className={styles.moreBtnMask} />
8384
<span>More</span>
84-
<IconArrowSmalldown />
85+
{openMore && <IconArrowSmallup />}
86+
{!openMore && <IconArrowSmalldown />}
8587
</button>
8688
<div className={styles.moreContentContainer}>
8789
{moreMenu.map((menu, i) => (

0 commit comments

Comments
 (0)