Skip to content

Commit

Permalink
fix: remove useless code (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
hetao92 authored Dec 8, 2022
1 parent f0172eb commit b971fb9
Showing 1 changed file with 0 additions and 68 deletions.
68 changes: 0 additions & 68 deletions app/pages/MainPage/Header/HelpMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,74 +43,6 @@ const HelpMenu = () => {
<Icon className={styles.navIcon} type="icon-studio-nav-help" />
</Link>
},
{
key: 'feedbackEntrance',
popupClassName: styles.accountMenu,
popupOffset: [-35, 20],
label: <Icon className={styles.navIcon} type="icon-navbar-feedback" />,
children: [
{
key: 'feedback',
label: <a
className={styles.nebulaLink}
href={intl.get('link.feedback')}
target="_blank"
rel="noreferrer"
data-track-category="navigation"
data-track-action="feedback"
data-track-label="from_navigation"
>
<Icon className={styles.menuIcon} type="icon-navbar-troubleFeedback" />
{intl.get('menu.feedback')}
</a>
},
{
key: 'repo',
label: <a
className={styles.nebulaLink}
href="https://github.com/vesoft-inc/nebula-studio"
target="_blank"
rel="noreferrer"
data-track-category="navigation"
data-track-action="repo"
data-track-label="from_navigation"
>
<Icon className={styles.menuIcon} type="icon-studio-nav-github" />
{intl.get('menu.repo')}
</a>
},
{
key: 'trial',
label: <a
className={styles.nebulaLink}
href={intl.get('link.trial')}
target="_blank"
rel="noreferrer"
data-track-category="navigation"
data-track-action="trial"
data-track-label="from_navigation"
>
<Icon className={styles.menuIcon} type="icon-navbar-enterprise" />
{intl.get('menu.trial')}
</a>
},
{
key: 'contact',
label: <a
className={styles.nebulaLink}
href={intl.get('link.contact')}
target="_blank"
rel="noreferrer"
data-track-category="navigation"
data-track-action="contact"
data-track-label="from_navigation"
>
<Icon className={styles.menuIcon} type="icon-navbar-contactUs" />
{intl.get('menu.contact')}
</a>
}
]
},
{
key: 'user',
popupClassName: styles.accountMenu,
Expand Down

0 comments on commit b971fb9

Please sign in to comment.