Skip to content

Commit

Permalink
Adds Feedback URL as a constant
Browse files Browse the repository at this point in the history
  • Loading branch information
arrenv committed Dec 6, 2021
1 parent 69c9aed commit 1a2d778
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/modules/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,6 @@ export const TOKEN_LOGOS_REPO_URL = `https://raw.githubusercontent.com/trustwall
export const NETWORK_RELEASES_URL = `https://github.com/JoinColony/colonyNetwork/releases/tag`;

export const SMALL_TOKEN_AMOUNT_FORMAT = '0.00000...';

export const FEEDBACK_LINK =
'https://portal.productboard.com/colony/1-colony-portal/tabs/4-bugs';
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';
import { FormattedMessage } from 'react-intl';

import ExternalLink from '~core/ExternalLink';
import { FEEDBACK_LINK } from '~constants';

import styles from './FeedbackWidget.css';

Expand All @@ -12,8 +13,6 @@ const MSG = {
},
};

const FEEDBACK_LINK = `https://portal.productboard.com/colony/1-colony-portal/tabs/4-bugs`;

const FeedbackWidget = () => (
<div className={styles.main}>
<ExternalLink className={styles.link} href={FEEDBACK_LINK}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { defineMessages } from 'react-intl';
import { ActionButton } from '~core/Button';
import NavLink from '~core/NavLink';
import ExternalLink from '~core/ExternalLink';
import { FEEDBACK_LINK } from '~constants';

import { Colony } from '~data/index';
import DropdownMenu, {
Expand Down Expand Up @@ -119,7 +120,7 @@ const AvatarDropdownPopover = ({
<DropdownMenuSection separator>
<DropdownMenuItem>
<ExternalLink
href="https://portal.productboard.com/colony/1-colony-portal/tabs/4-bugs"
href={FEEDBACK_LINK}
text={MSG.reportBugs}
className={styles.externalLink}
/>
Expand Down

0 comments on commit 1a2d778

Please sign in to comment.