Skip to content

Commit

Permalink
Merge pull request #59 from HaloDAO/hdb-11-and-12
Browse files Browse the repository at this point in the history
Applying this commit will update the discord link and replace mentions of "APY" to "APR"
  • Loading branch information
tracyarciaga authored Aug 17, 2021
2 parents 5c03e54 + 2ed4e1d commit c5e092f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
blank_issues_enabled: false
contact_links:
- name: Support
url: https://discord.gg/EwFs3Pp
url: https://discord.com/invite/halodao
about: Please ask and answer questions here
- name: List a token
url: https://github.com/Uniswap/default-token-list#adding-a-token
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ An open source interface for HaloDAO -- a protocol for decentralized exchange of
- Website: [halodao.com](https://halodao.com/)
- Interface: [dev.app.halodao.com](https://dev.app.halodao.com)
- Twitter: [@HaloDAOOfficial](https://twitter.com/HaloDAOFinance)
- Discord: [HaloDAO](https://discord.gg/uAgZvXg7)
- Discord: [HaloDAO](https://discord.com/invite/halodao)

## Accessing the HaloDAO Interface

Expand Down
1 change: 1 addition & 0 deletions public/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
"harvest": "Harvest",
"max": "MAX",
"apy": "APY",
"apr": "APR",
"new": "New",
"emptyStateTitleInFarm": "Let's get farming!",
"emptyStateTitleInVest": "Let's get vesting!",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Farm/FarmPoolCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ export default function FarmPoolCard({ poolInfo, tokenPrice, isActivePool }: Far
<StyledTextForValue fontWeight={600}>{poolInfo.pair}</StyledTextForValue>
</StyledRowFixed>
<StyledRowFixed width="13%">
<LabelText className="first">{t('apy')}:</LabelText>
<LabelText className="first">{t('apr')}:</LabelText>
<StyledTextForValue>{isActivePool ? poolAPY : t('inactive')}</StyledTextForValue>
</StyledRowFixed>
<StyledRowFixed width="18%">
Expand Down
2 changes: 1 addition & 1 deletion src/components/Farm/FarmPoolTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const FarmPoolTable = ({ poolsInfo, tokenPrice }: FarmPoolTableProps) => {
<TYPE.thHeader style={{ justifySelf: 'flex-start' }}>{t('pool')}</TYPE.thHeader>
</RowFixed>
<RowFixed width="13%">
<TYPE.thHeader style={{ justifySelf: 'flex-start' }}>{t('apy')}</TYPE.thHeader>
<TYPE.thHeader style={{ justifySelf: 'flex-start' }}>{t('apr')}</TYPE.thHeader>
</RowFixed>
<RowFixed width="18%">
<TYPE.thHeader style={{ justifySelf: 'flex-start' }}>{t('totalPoolValue')}</TYPE.thHeader>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Menu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default function Menu() {
<Code size={14} />
Code
</MenuItem> */}
<MenuItem id="link" href="https://discord.gg/gqKxuGdX">
<MenuItem id="link" href="https://discord.com/invite/halodao">
<MessageCircle size={14} />
Discord
</MenuItem>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/HaloHalo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export default function HaloHalo() {
</RowBetweenCard>
<RowBetween id="haloHaloAPY">
The longer you keep xRNBW, the more RNBW you can claim later on (
{haloHaloAPY > 0 ? formatNumber(haloHaloAPY, NumberFormat.percent) + ' APY' : 'APY pending'}). Claim
{haloHaloAPY > 0 ? formatNumber(haloHaloAPY, NumberFormat.percent) + ' APR' : 'APR pending'}). Claim
anytime but lose out on monthly RNBW vesting multiples.
</RowBetween>
</CardSection>
Expand Down

0 comments on commit c5e092f

Please sign in to comment.