Skip to content

Commit

Permalink
v6.2.8
Browse files Browse the repository at this point in the history
v6.2.8
  • Loading branch information
platschi authored Apr 11, 2023
2 parents 4b94393 + 1e3bdea commit 94c0b9b
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
category: "/language:${{matrix.language}}"

- name: eslint-annotations
uses: DerLev/eslint-annotations@v1.1.1
uses: DerLev/eslint-annotations@v1.3.0
4 changes: 2 additions & 2 deletions constants/announcement.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Shows or hides the home page banner entirely when set to true/false
export const BANNER_ENABLED = true;
export const BANNER_ENABLED = false;
// Sets the link destination for the banner component, or renders the banner as
// plain, un-clickable text if set to a falsey value (`false`, `null`, '', etc...)
export const BANNER_LINK_URL =
'https://mirror.xyz/kwenta.eth/pYX4sd2mO6PZ8yZb_0JqNi50QQgu96sWADZKjKl6y-k';
// Sets the text displayed on the home page banner
export const BANNER_TEXT =
'Kwenta is undergoing scheduled maintenance due to the Synthetix Minataka release.';
'Kwenta is undergoing scheduled maintenance due to the Synthetix Caph release.';
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kwenta",
"version": "6.2.5",
"version": "6.2.8",
"scripts": {
"dev": "next",
"build": "next build",
Expand Down
8 changes: 4 additions & 4 deletions sections/futures/FeeInfoBox/FeeInfoBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,19 +172,19 @@ const TradingRewardRow = memo(() => {

return (
<InfoBoxRow
title="Trading Reward"
title="Trading Rewards"
compactBox
value=""
keyNode={
<CompactBox $isEligible={isRewardEligible} onClick={goToStaking}>
<FlexDivRow style={{ marginBottom: '5px' }}>
<div>{t('dashboard.stake.tabs.trading-rewards.trading-reward')}</div>
<Badge color={isRewardEligible ? 'yellow' : 'red'}>
<Badge color={isRewardEligible ? 'yellow' : 'yellow'}>
{t(`dashboard.stake.tabs.trading-rewards.${isRewardEligible ? '' : 'not-'}eligible`)}
{isRewardEligible ? (
<EligibleIcon viewBox="0 0 8 8" style={{ paddingLeft: '2px' }} />
) : (
<NotEligibleIcon width="12" height="12" viewBox="-1.5 -0.5 9 9" />
<EligibleIcon viewBox="0 0 8 8" style={{ paddingLeft: '2px' }} />
)}
</Badge>
</FlexDivRow>
Expand Down Expand Up @@ -306,6 +306,6 @@ const CompactBox = styled.div<{ $isEligible: boolean }>`
${(props) => `
color: ${props.theme.colors.selectedTheme.text.value};
border-left: 2px solid
${props.theme.colors.selectedTheme.badge[props.$isEligible ? 'yellow' : 'red'].background};
${props.theme.colors.selectedTheme.badge[props.$isEligible ? 'yellow' : 'yellow'].background};
`}
`;
8 changes: 4 additions & 4 deletions translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -566,11 +566,11 @@
"claim-epoch": "Claim: Epoch {{EpochPeriod}}",
"claim": "Claim",
"estimated-info": "Estimated values do not reflect the final reward value and are subject to change as a result of future fees paid and staked amounts by other participants.",
"trading-reward": "Trading Reward:",
"not-eligible": "Not Eligible",
"trading-reward": "Trading Rewards:",
"not-eligible": "Eligible",
"eligible": "Eligible",
"stake-to-earn": "Stake <0>$KWENTA</0> to earn more rewards",
"stake-to-start": "Stake <0>$KWENTA</0> to start earning rewards",
"stake-to-earn": "Trade to start earning <0>$KWENTA</0> rewards",
"stake-to-start": "Trade to start earning <0>$KWENTA</0> rewards",
"learn-more": "Learn More"
},
"escrow": {
Expand Down

1 comment on commit 94c0b9b

@vercel
Copy link

@vercel vercel bot commented on 94c0b9b Apr 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

kwenta – ./

kwenta-kwenta.vercel.app
kwenta-git-perps-v2-kwenta.vercel.app
kwenta.io
dev.kwenta.io

Please sign in to comment.