Skip to content

Commit

Permalink
fix: renamed all places with Nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
yasha-black committed Feb 4, 2022
1 parent 4dd5a9b commit 7a426b5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Please see the [ErgoDEX](https://github.com/ergolabs/ergo-dex) repository for a
2. `yarn`
3. `yarn start`
4. Open localhost:3000 in Chrome.
5. Install [Yoroi Nightly](https://chrome.google.com/webstore/detail/yoroi-nightly/poonlenmfdfbjfeeballhiibknlknepo?hl=en&authuser=0) and [Yoroi-dapp-connector Nightly](https://chrome.google.com/webstore/detail/yoroi-ergo-dapp-connector/chifollcalpmjdiokipacefnpmbgjnle/related?hl=en&authuser=0)
5. Install [Yoroi Wallet](https://chrome.google.com/webstore/detail/yoroi/ffnbelfdoeiohenkjibnmadjiehjhajb)

<!-- ROADMAP -->
## Roadmap
Expand Down
4 changes: 2 additions & 2 deletions src/common/constants/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const FEEDBACK_FORM_URL = 'https://forms.gle/F7nqXhdx1EBEFR4F7';

export const LANDING_URL = 'https://ergodex.io';

export const YOROI_NIGHTLY_LINK =
'https://chrome.google.com/webstore/detail/yoroi-nightly/poonlenmfdfbjfeeballhiibknlknepo';
export const YOROI_LINK =
'https://chrome.google.com/webstore/detail/yoroi/ffnbelfdoeiohenkjibnmadjiehjhajb';
export const YOROI_WALLET_LINK =
'https://chrome.google.com/webstore/detail/yoroi/ffnbelfdoeiohenkjibnmadjiehjhajb';
2 changes: 1 addition & 1 deletion src/components/ConfirmationModal/ConfirmationModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const YoroiIssueModalContent = () => (
</Flex.Item>
<Flex.Item marginBottom={1}>
<Typography.Body align="center">
Seems like Yoroi Nightly has an issue
Seems like Yoroi Wallet has an issue
</Typography.Body>
</Flex.Item>
<Flex.Item marginBottom={1}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ const ChooseWalletModal: React.FC<ChooseWalletModalProps> = ({

const wallets = [
{
name: 'Yoroi Nightly',
name: 'Yoroi Wallet',
logo: <YoroiLogo />,
onClick: () => {
return connectYoroiWallet(walletCtx)().then((res) => {
connectWallet();
notification.info({
message: 'Yoroi Nightly tip',
message: 'Yoroi Wallet tip',
description:
'Keep Yoroi Nightly extension window open, when you use ErgoDEX. So that it will sync faster.',
'Keep Yoroi Wallet extension window open, when you use ErgoDEX. So that it will sync faster.',
duration: null,
});
return res;
Expand Down
6 changes: 3 additions & 3 deletions src/utils/wallets/yoroi.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import { applicationConfig } from '../../applicationConfig';
import { YOROI_NIGHTLY_LINK } from '../../common/constants/env';
import { YOROI_LINK } from '../../common/constants/env';
import { WalletContextType } from '../../context';
import { Typography } from '../../ergodex-cdk';
import { walletCookies } from '../cookies';
Expand All @@ -12,8 +12,8 @@ export const connectYoroiWallet =
return Promise.reject(
<>
To use ErgoDEX install{' '}
<Typography.Link href={YOROI_NIGHTLY_LINK} target="_blank">
Yoroi Nightly
<Typography.Link href={YOROI_LINK} target="_blank">
Yoroi Wallet
</Typography.Link>{' '}
.
</>,
Expand Down

0 comments on commit 7a426b5

Please sign in to comment.